org.jasig.portal.tools.checks
Class CheckAndResult

java.lang.Object
  extended by org.jasig.portal.tools.checks.CheckAndResult

public class CheckAndResult
extends java.lang.Object

Represents a description of a check as well as the result of having performed that check.

Since:
uPortal 2.5
Version:
$Revision: 1.2 $ $Date: 2005/05/20 01:49:09 $

Field Summary
private  java.lang.String checkDescription
          A String describing what check was performed.
private  CheckResult result
          The result of the check.
 
Constructor Summary
CheckAndResult(java.lang.String checkDescription, CheckResult result)
           
 
Method Summary
 java.lang.String getCheckDescription()
           
 CheckResult getResult()
           
 boolean isSuccess()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

checkDescription

private final java.lang.String checkDescription
A String describing what check was performed.


result

private final CheckResult result
The result of the check.

Constructor Detail

CheckAndResult

public CheckAndResult(java.lang.String checkDescription,
                      CheckResult result)
Method Detail

getCheckDescription

public java.lang.String getCheckDescription()
Returns:
Returns the checkDescription.

getResult

public CheckResult getResult()
Returns:
Returns the result.

isSuccess

public boolean isSuccess()