org.jasig.portal.tools.checks
Class SafeCheckRunner
java.lang.Object
org.jasig.portal.tools.checks.SafeCheckRunner
- All Implemented Interfaces:
- ICheckRunner
public class SafeCheckRunner
- extends Object
- implements ICheckRunner
Runs a list of IChecks with type checking and exception handling to ensure every
check gets run and that the doChecks() will always return correctly.
- Version:
- $Revision$
- Author:
- Eric Dalquist
|
Field Summary |
protected org.apache.commons.logging.Log |
logger
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final org.apache.commons.logging.Log logger
SafeCheckRunner
public SafeCheckRunner()
getChecks
public List<?> getChecks()
- Returns:
- the checks
setChecks
public void setChecks(List<?> checks)
- Parameters:
checks - the checks to set
doChecks
public List<CheckAndResult> doChecks()
- Description copied from interface:
ICheckRunner
- Execute some checks and return a List of CheckAndResult instances
representing the results.
- Specified by:
doChecks in interface ICheckRunner
- Returns:
- a List of CheckAndResult instances.
Copyright © 2010 Jasig. All Rights Reserved.