Class SelfTestOrderedInstance

java.lang.Object
com.netscape.cmscore.selftests.SelfTestOrderedInstance

public class SelfTestOrderedInstance extends Object
This class implements a single element in an ordered list of self test instances.

Version:
$Revision$, $Date$
Author:
mharmsen, thomask
  • Constructor Details

    • SelfTestOrderedInstance

      public SelfTestOrderedInstance(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 Details

    • getSelfTestName

      public 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