| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROP_KRA_SUB_ID |
mConfig, mInstanceName, mPrefix, mSelfTestSubsystemPROP_PLUGIN| Constructor and Description |
|---|
KRAPresence() |
| 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_KRA_SUB_ID
public void initSelfTest(ISelfTestSubsystem subsystem, java.lang.String instanceName, IConfigStore parameters) throws EDuplicateSelfTestException, EInvalidSelfTestException, EMissingSelfTestException
initSelfTest in interface ISelfTestinitSelfTest in class ASelfTestsubsystem - 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 ISelfTeststartupSelfTest in class ASelfTestESelfTestException - failed to startpublic void shutdownSelfTest()
shutdownSelfTest in interface ISelfTestshutdownSelfTest in class ASelfTestpublic java.lang.String getSelfTestName()
getSelfTestName in interface ISelfTestgetSelfTestName in class ASelfTestpublic IConfigStore getSelfTestConfigStore()
getSelfTestConfigStore in interface ISelfTestgetSelfTestConfigStore in class ASelfTestpublic java.lang.String getSelfTestDescription(java.util.Locale locale)
getSelfTestDescription in interface ISelfTestgetSelfTestDescription in class ASelfTestlocale - locale of the client that requests the descriptionpublic void runSelfTest(ILogEventListener logger) throws java.lang.Exception
runSelfTest in interface ISelfTestrunSelfTest in class ASelfTestlogger - specifies logging subsystemjava.lang.Exception - self test exception