Package com.netscape.cmscore.selftests
Class SelfTestOrderedInstance
java.lang.Object
com.netscape.cmscore.selftests.SelfTestOrderedInstance
This class implements a single element in
an ordered list of self test instances.
- Version:
- $Revision$, $Date$
- Author:
- mharmsen, thomask
-
Constructor Summary
ConstructorsConstructorDescriptionSelfTestOrderedInstance
(String listElement) Constructs a single element within an ordered list of self tests. -
Method Summary
Modifier and TypeMethodDescriptionReturns the name associated with this self test; may be null.boolean
Returns the criticality associated with this self test.void
setSelfTestCriticalMode
(boolean criticalMode) Sets/resets the criticality associated with this self test.
-
Constructor Details
-
SelfTestOrderedInstance
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 Details
-
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
-