Package com.netscape.cmscore.selftests
Class SelfTestOrderedInstance
- java.lang.Object
-
- com.netscape.cmscore.selftests.SelfTestOrderedInstance
-
public class SelfTestOrderedInstance extends java.lang.Object
This class implements a single element in an ordered list of self test instances.- Version:
- $Revision$, $Date$
- Author:
- mharmsen, thomask
-
-
Constructor Summary
Constructors Constructor Description SelfTestOrderedInstance(java.lang.String listElement)
Constructs a single element within an ordered list of self tests.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getSelfTestName()
Returns the name associated with this self test; may be null.boolean
isSelfTestCritical()
Returns the criticality associated with this self test.void
setSelfTestCriticalMode(boolean criticalMode)
Sets/resets the criticality associated with this self test.
-
-
-
Constructor Detail
-
SelfTestOrderedInstance
public SelfTestOrderedInstance(java.lang.String listElement)
Constructs a single element within an ordered list of self tests. A "listElement" contains a string of the form "[instanceName]" or "[instanceName]:critical".- Parameters:
listElement
- a string containing the "instanceName" and information indictating whether or not the instance is "critical"
-
-
Method Detail
-
getSelfTestName
public java.lang.String getSelfTestName()
Returns the name associated with this self test; may be null.- Returns:
- instanceName of this self test
-
isSelfTestCritical
public boolean isSelfTestCritical()
Returns the criticality associated with this self test.- Returns:
- true if failure of this self test is fatal when it is executed; otherwise return false
-
setSelfTestCriticalMode
public void setSelfTestCriticalMode(boolean criticalMode)
Sets/resets the criticality associated with this self test.- Parameters:
criticalMode
- the criticality of this self test
-
-