|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hardtokenmgmt.admin.model.BaseStatusAnalyzer
public abstract class BaseStatusAnalyzer
Base class of all status analyzers containing all the in common methods.
| Field Summary | |
|---|---|
protected java.lang.Integer |
alarmPriority
|
protected java.lang.String |
hostname
|
protected java.lang.String |
status
|
protected java.lang.String |
statusMessage
|
protected java.lang.String |
threshold
|
| Constructor Summary | |
|---|---|
protected |
BaseStatusAnalyzer(java.lang.String hostname)
|
| Method Summary | |
|---|---|
protected abstract void |
analyze()
Method that should analyze the objects data and set the status, statusMessage and alarmPriority variables. |
int |
getAlarmPriority()
Alarm priority determines which event that should have the highest priority when something is wrong. |
java.lang.String |
getHostname()
|
java.lang.String |
getStatus()
The status of the current partition. |
java.lang.String |
getStatusMessage()
|
java.lang.String |
getThreshold()
|
void |
resetAnalyzis()
Instructs the analyzer that it's time to redo it's analysing the next time the status is requested. |
void |
resetThreshold()
Reset the the configured threshold to the default value. |
void |
setThreshold(java.lang.String threshold)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String hostname
protected java.lang.String status
protected java.lang.String statusMessage
protected java.lang.String threshold
protected java.lang.Integer alarmPriority
| Constructor Detail |
|---|
protected BaseStatusAnalyzer(java.lang.String hostname)
| Method Detail |
|---|
public java.lang.String getHostname()
getHostname in interface IStatusAnalyzerIStatusAnalyzer.getHostname()public java.lang.String getStatus()
IStatusAnalyzer
getStatus in interface IStatusAnalyzerIStatusAnalyzer.getStatus()public java.lang.String getStatusMessage()
getStatusMessage in interface IStatusAnalyzerIStatusAnalyzer.getStatusMessage()public java.lang.String getThreshold()
getThreshold in interface IStatusAnalyzerIStatusAnalyzer.getThreshold()public void setThreshold(java.lang.String threshold)
setThreshold in interface IStatusAnalyzerthreshold - the threshold to setIStatusAnalyzer.setThreshold(java.lang.String)public int getAlarmPriority()
IStatusAnalyzer
getAlarmPriority in interface IStatusAnalyzerIStatusAnalyzer.getAlarmPriority()protected abstract void analyze()
public void resetThreshold()
IStatusAnalyzer
resetThreshold in interface IStatusAnalyzerpublic void resetAnalyzis()
IStatusAnalyzer
resetAnalyzis in interface IStatusAnalyzerIStatusAnalyzer.resetAnalyzis()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||