org.hardtokenmgmt.admin.model
Class HostStatusAnalyzer
java.lang.Object
org.hardtokenmgmt.admin.model.BaseStatusAnalyzer
org.hardtokenmgmt.admin.model.HostStatusAnalyzer
- All Implemented Interfaces:
- IStatusAnalyzer
public class HostStatusAnalyzer
- extends BaseStatusAnalyzer
Status analyzer that determines the overall status
of the current host.
- Version:
- $Id$
- Author:
- Philip Vendil 23 feb 2009
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HostStatusAnalyzer
protected HostStatusAnalyzer(HostInfoVO hostInfoVO)
analyze
protected void analyze()
- Method that analyzes all sub objects and sets the
status to the alarm with highest priority.
- Specified by:
analyze in class BaseStatusAnalyzer
- See Also:
BaseStatusAnalyzer.analyze()
getHostInfoVO
public HostInfoVO getHostInfoVO()
- Returns:
- the hostInfoVO
setThreshold
public void setThreshold(java.lang.String threshold)
- Method that checks that either true or false is set.
- Specified by:
setThreshold in interface IStatusAnalyzer- Overrides:
setThreshold in class BaseStatusAnalyzer
- Parameters:
threshold - the threshold to set- See Also:
BaseStatusAnalyzer.setThreshold(java.lang.String)
getGeneralStatus
public java.util.List<GeneralStatusAnalyzer> getGeneralStatus()
- Returns:
- the generalStatus
getDiskStatus
public java.util.List<PartitionStatusAnalyzer> getDiskStatus()
- Returns:
- the diskStatus
getMemStatus
public java.util.List<MemStatusAnalyzer> getMemStatus()
- Returns:
- the memStatus
getCAStatus
public java.util.List<CAStatusAnalyzer> getCAStatus()
- Returns:
- the cAStatus
getSysCheckStatus
public java.util.List<SysCheckStatusAnalyzer> getSysCheckStatus()
- Returns:
- the sysCheckStatus
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
- See Also:
BaseStatusAnalyzer.resetThreshold()
isMonitored
public boolean isMonitored()
resetAnalyzis
public void resetAnalyzis()
- Description copied from interface:
IStatusAnalyzer
- Instructs the analyzer that it's time to redo it's analysing the
next time the status is requested.
- Specified by:
resetAnalyzis in interface IStatusAnalyzer- Overrides:
resetAnalyzis in class BaseStatusAnalyzer
- See Also:
BaseStatusAnalyzer.resetAnalyzis()