|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.grouper.j2ee.status.DiagnosticTask
public abstract class DiagnosticTask
A task to be executed for diagnostics. Each task should append any text to return in the event of a failure to the method appendFailureText(). Text to use in the event of a success should be sent to the method appendSuccessText().
Constructor Summary | |
---|---|
DiagnosticTask()
|
Method Summary | |
---|---|
void |
appendSuccessTextLine(java.lang.String text)
Append a line to the text to be used in the event of a success. |
abstract boolean |
equals(java.lang.Object obj)
|
boolean |
executeTask()
Execute the diagnostic task. |
abstract int |
hashCode()
|
java.lang.StringBuilder |
retrieveFailureText()
failure text if this was a failure |
abstract java.lang.String |
retrieveName()
should be alphaNumeric in camelcase (for config file) |
abstract java.lang.String |
retrieveNameFriendly()
friendly name to display on screen |
java.lang.StringBuilder |
retrieveSuccessText()
success text if this was a success |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DiagnosticTask()
Method Detail |
---|
public abstract boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public abstract int hashCode()
hashCode
in class java.lang.Object
public boolean executeTask()
public java.lang.StringBuilder retrieveFailureText()
public java.lang.StringBuilder retrieveSuccessText()
public void appendSuccessTextLine(java.lang.String text)
Append a line to the text to be used in the event of a success. Each line added has the current time of the operation added to it.
text
- is the text to use.public abstract java.lang.String retrieveName()
public abstract java.lang.String retrieveNameFriendly()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |