public class SamplingManagerUITool
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static AcsInformation |
info |
| Constructor and Description |
|---|
SamplingManagerUITool() |
| Modifier and Type | Method and Description |
|---|---|
protected static boolean |
componentExists(java.lang.String componentName)
Wraper that checks if a component exists.
|
protected static void |
deleteSample(SampDetail sDetail)
Stop and delete from the internal structures the sampling identified
by a SampDetail.
|
protected static void |
hashPrint() |
protected static boolean |
propertyExists(java.lang.String componentName,
java.lang.String propertyName)
Wraper that checks if a property exists given a component.
|
protected static void |
spinUp(java.lang.String clientName,
java.lang.String managerName)
Prepares the connection to the ACS infrastructure.
|
protected static void |
startSample(SampDetail sDetail)
Start the sampling of a property.
|
protected static void |
stopSample(SampDetail sDetail)
Stop the sampling of a property identified by a SampDetail.
|
protected static void |
tearDown()
Shutdown all the sampling operation.
|
protected static AcsInformation info
protected static void spinUp(java.lang.String clientName,
java.lang.String managerName)
throws AcsInformationException,
SamplingManagerException,
AcsJContainerEx
clientName - string that contains the name with which the tool
will register with ACS.managerName - string that contains the name of the sampling
manager in the container. This manager is specified in the CDB.AcsJContainerExAcsInformationExceptionSamplingManagerExceptionAcsInformation,
SamplingManagerprotected static void startSample(SampDetail sDetail) throws CouldntAccessComponentEx, TypeNotSupportedEx, CouldntAccessPropertyEx, SamplingManagerException
sDetail - a SampDetail object that contains the specification
for the sampling.CouldntAccessComponentExTypeNotSupportedExCouldntAccessPropertyExSamplingManagerExceptionSampDetail,
PropertySampprotected static void stopSample(SampDetail sDetail)
SampDetailprotected static void deleteSample(SampDetail sDetail)
SampDetailprotected static void tearDown()
throws java.lang.Exception
java.lang.ExceptionAcsInformationprotected static void hashPrint()
protected static boolean componentExists(java.lang.String componentName)
componetName - the name of the component.protected static boolean propertyExists(java.lang.String componentName,
java.lang.String propertyName)
componetName - the name of the component.propertyName - the name of the property.