Issue Interface

com.bea.control
Issue Interface

public interface Issue

Implement this interface to create an issue class that your control can return to have the IDE display errors or messages. The values you return from the getDescription and getPrescription methods will be displayed to the control's user in an IDE dialog.

As an alternative implementing this interface in your own class, you can use the DefaultIssue class provided with this API.

Note: The Issue interface is part of the WebLogic Workshop Control Development Kit. The Control Development Kit is for users who are creating advanced controls. It is available in your BEA installation in the following directory: BEA_HOME\weblogic81\samples\workshop\ControlDevKit\


All Known Implementing Classes
DefaultIssue

Method Summary

public String
getDescription()
Returns to the IDE a description of this issue.
public String
getPrescription()
Returns to the IDE a prescription for handling this issue.
public boolean
isError()
Notifies the IDE whether or not this issue is an error.

Method Detail

getDescription() Method

public String getDescription()
Returns to the IDE a description of this issue.

Returns

A description of the current issue.

getPrescription() Method

public String getPrescription()
Returns to the IDE a prescription for handling this issue.

Returns

A message describing how this issue can be solved or avoided.

isError() Method

public boolean isError()
Notifies the IDE whether or not this issue is an error. In general, warnings will be noted in an alert or in the build output, but will not stop processing; errors will require the user to address the problem before proceeding.

Returns

true if this issue is an error; false if it isn't.