Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROP_CA_SUB_ID |
mConfig, mInstanceName, mPrefix, mSelfTestSubsystem
PROP_PLUGIN
Constructor and Description |
---|
CAPresence() |
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.
|
public static final java.lang.String PROP_CA_SUB_ID
public void initSelfTest(ISelfTestSubsystem subsystem, java.lang.String instanceName, IConfigStore parameters) throws EDuplicateSelfTestException, EInvalidSelfTestException, EMissingSelfTestException
initSelfTest
in interface ISelfTest
initSelfTest
in class ASelfTest
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/valuepublic void startupSelfTest() throws ESelfTestException
startupSelfTest
in interface ISelfTest
startupSelfTest
in class ASelfTest
ESelfTestException
- failed to startpublic void shutdownSelfTest()
shutdownSelfTest
in interface ISelfTest
shutdownSelfTest
in class ASelfTest
public java.lang.String getSelfTestName()
getSelfTestName
in interface ISelfTest
getSelfTestName
in class ASelfTest
public IConfigStore getSelfTestConfigStore()
getSelfTestConfigStore
in interface ISelfTest
getSelfTestConfigStore
in class ASelfTest
public java.lang.String getSelfTestDescription(java.util.Locale locale)
getSelfTestDescription
in interface ISelfTest
getSelfTestDescription
in class ASelfTest
locale
- locale of the client that requests the descriptionpublic void runSelfTest(ILogEventListener logger) throws ESelfTestException
runSelfTest
in interface ISelfTest
runSelfTest
in class ASelfTest
logger
- specifies logging subsystemESelfTestException
- self test exception