|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISelfTest
This class defines the interface of an individual self test.
Field Summary | |
---|---|
static java.lang.String |
PROP_PLUGIN
|
Method Summary | |
---|---|
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. |
Field Detail |
---|
static final java.lang.String PROP_PLUGIN
Method Detail |
---|
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/value
EInvalidSelfTestException
- subsystem has invalid name/value
EMissingSelfTestException
- 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 description
void runSelfTest(ILogEventListener logger) throws ESelfTestException
logger
- specifies logging subsystem
ESelfTestException
- self test exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |