| java.lang.Object org.jasig.portal.tools.checks.CheckResult
CheckResult | public class CheckResult (Code) | | 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.
version: $Revision: 35833 $ $Date: 2005-05-19 18:51:40 -0700 (Thu, 19 May 2005) $ since: uPortal 2.5 |
createFailure | public static CheckResult createFailure(String message, String remediationAdvice)(Code) | | 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.
Parameters: message - - a message describing the failure of the check Parameters: remediationAdvice - - advice for the uPortal deployer about how to resolve this failure a CheckResult representing this failure |
createSuccess | public static CheckResult createSuccess(String message)(Code) | | 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.
Parameters: message - - a message describing the success of that check a CheckResult representing the success |
getMessage | public String getMessage()(Code) | | Returns the message. |
getRemediationAdvice | public String getRemediationAdvice()(Code) | | Returns the remediationAdvice. |
isSuccess | public boolean isSuccess()(Code) | | Returns the success. |
|
|