public interface ISelfTest
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROP_PLUGIN |
| Modifier and Type | Method and Description |
|---|---|
IConfigStore |
getSelfTestConfigStore()
Returns the root configuration storage (self test parameters)
associated with this subsystem.
|
java.lang.String |
getSelfTestDescription(java.util.Locale locale)
Retrieves description associated with an individual self test.
|
java.lang.String |
getSelfTestName()
Returns the name associated with this self test.
|
void |
initSelfTest(ISelfTestSubsystem subsystem,
java.lang.String instanceName,
IConfigStore parameters)
Initializes this subsystem with the configuration store
associated with this instance name.
|
void |
runSelfTest(ILogEventListener logger)
Execute an individual self test.
|
void |
shutdownSelfTest()
Stops this subsystem.
|
void |
startupSelfTest()
Notifies this subsystem if it is in execution mode.
|
static final java.lang.String PROP_PLUGIN
void initSelfTest(ISelfTestSubsystem subsystem, java.lang.String instanceName, IConfigStore parameters) throws EDuplicateSelfTestException, EInvalidSelfTestException, EMissingSelfTestException
subsystem - the associated subsysteminstanceName - the name of this self test instanceparameters - configuration store (self test parameters)EDuplicateSelfTestException - subsystem has duplicate name/valueEInvalidSelfTestException - subsystem has invalid name/valueEMissingSelfTestException - subsystem has missing name/valuevoid startupSelfTest()
throws ESelfTestException
ESelfTestException - failed to startvoid shutdownSelfTest()
java.lang.String getSelfTestName()
IConfigStore getSelfTestConfigStore()
java.lang.String getSelfTestDescription(java.util.Locale locale)
locale - locale of the client that requests the descriptionvoid runSelfTest(ILogEventListener logger) throws java.lang.Exception
logger - specifies logging subsystemjava.lang.Exception - self test exception