org.hardtokenmgmt.admin.model
Class SysCheckStatusAnalyzer
java.lang.Object
org.hardtokenmgmt.admin.model.BaseStatusAnalyzer
org.hardtokenmgmt.admin.model.SysCheckStatusAnalyzer
- All Implemented Interfaces:
- java.lang.Comparable<SysCheckStatusAnalyzer>, IStatusAnalyzer
public class SysCheckStatusAnalyzer
- extends BaseStatusAnalyzer
- implements java.lang.Comparable<SysCheckStatusAnalyzer>
- Version:
- $Id$
- Author:
- Philip Vendil 25 mar 2009
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SysCheckStatusAnalyzer
public SysCheckStatusAnalyzer(java.lang.String hostname,
SysCheckInfoVO sysCheckInfoVO)
analyze
protected void analyze()
- Description copied from class:
BaseStatusAnalyzer
- Method that should analyze the objects data
and set the status, statusMessage and alarmPriority variables.
- Specified by:
analyze in class BaseStatusAnalyzer
getScriptID
public java.lang.String getScriptID()
- Returns the two letter script id.
getErrorNo
public java.lang.String getErrorNo()
getMessage
public java.lang.String getMessage()
getDate
public java.lang.String getDate()
getThreshold
public java.lang.String getThreshold()
- Specified by:
getThreshold in interface IStatusAnalyzer- Overrides:
getThreshold in class BaseStatusAnalyzer
- Returns:
- the threshold
- See Also:
BaseStatusAnalyzer.getThreshold()
setThreshold
public void setThreshold(java.lang.String threshold)
- Checks that the string is boolean.
- Specified by:
setThreshold in interface IStatusAnalyzer- Overrides:
setThreshold in class BaseStatusAnalyzer
- Parameters:
threshold - the threshold to set- See Also:
BaseStatusAnalyzer.setThreshold(java.lang.String)
isMonitored
public boolean isMonitored()
resetThreshold
public void resetThreshold()
- Description copied from interface:
IStatusAnalyzer
- Reset the the configured threshold to the default value.
- Specified by:
resetThreshold in interface IStatusAnalyzer- Overrides:
resetThreshold in class BaseStatusAnalyzer
compareTo
public int compareTo(SysCheckStatusAnalyzer o)
- Specified by:
compareTo in interface java.lang.Comparable<SysCheckStatusAnalyzer>