|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.tools.checks.CheckResult
public class CheckResult
Object representing the result of a check. All CheckResults convey the result of a check. Additionally, CheckResults representing failures convey advice about how to remediate the failed check.
| Method Summary | |
|---|---|
static CheckResult |
createFailure(String message,
String remediationAdvice)
Obtain a CheckResult representing a check that failed -- dependency for which you were checking was not present, thing you asserted to be true wasn't, etc. |
static CheckResult |
createFatalFailure(String message,
String remediationAdvice)
Obtain a CheckResult representing a check that failed and should stop the portal from initializaing -- dependency for which you were checking was not present, thing you asserted to be true wasn't, etc. |
static CheckResult |
createSuccess(String message)
Obtain a CheckResult representing a check that succeeded -- dependency for which you were checking was present, thing you asserted to be true actually was true, etc. |
String |
getMessage()
|
String |
getRemediationAdvice()
|
boolean |
isFatal()
|
boolean |
isSuccess()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static CheckResult createSuccess(String message)
message - - a message describing the success of that check
public static CheckResult createFailure(String message,
String remediationAdvice)
message - - a message describing the failure of the checkremediationAdvice - - advice for the uPortal deployer about how to resolve this failure
public static CheckResult createFatalFailure(String message,
String remediationAdvice)
message - - a message describing the failure of the checkremediationAdvice - - advice for the uPortal deployer about how to resolve this failure
public String getMessage()
public String getRemediationAdvice()
public boolean isSuccess()
public boolean isFatal()
isSuccess() is falsepublic String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||