|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.are.plugin.ResultInfo
com.ibm.are.plugin.ExtendedResultInfo
public class ExtendedResultInfo
The ExtendedResultInfo
class is used to communicate the result status of running a plugin along
with additional information, such as any exception that may have occurred or any results of the plugin's
verification that other plugins may want access to.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright for class bytecode |
protected java.lang.Throwable |
exception
If an exception occurs during the running of the plugin, the exception itself may be communicated to other plugins, or ARE itself, via this field. |
protected java.lang.Object |
extendedInfo
Additional information made available by the plugin for other plugins to access |
Constructor Summary | |
---|---|
ExtendedResultInfo(boolean successful)
Constructs a new ExtendedResultInfo object with the specified result status |
Method Summary | |
---|---|
java.lang.Throwable |
getException()
Retrieves any exception associated with the result information |
java.lang.Object |
getExtendedInfo()
Retrieves any additional information associated with the result |
boolean |
hasException()
Answers whether or not there is an exception associated with the result information |
void |
setException(java.lang.Throwable exception)
Sets an exception to associate with the result information |
void |
setExtendedInfo(java.lang.Object extendedInfo)
Sets additional information associated with the result |
Methods inherited from class com.ibm.are.plugin.ResultInfo |
---|
isSuccessful |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
protected java.lang.Object extendedInfo
protected java.lang.Throwable exception
Constructor Detail |
---|
public ExtendedResultInfo(boolean successful)
ExtendedResultInfo
object with the specified result status
successful
- Whether or not the plugin completed successfullyMethod Detail |
---|
public java.lang.Throwable getException()
public void setException(java.lang.Throwable exception)
exception
- The exception to setpublic boolean hasException()
public java.lang.Object getExtendedInfo()
public void setExtendedInfo(java.lang.Object extendedInfo)
extendedInfo
- Additional information associated with the result
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |