public class SetUpImpl extends NodeImpl implements SetUp, Thresholds
| Constructor and Description |
|---|
SetUpImpl(ListNodes registry,
Node node) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getAllEnabledVariable() |
String[] |
getAllVariablesName() |
String[] |
getCategories() |
String |
getFlowControl(String variableId) |
double |
getHigh(String variableId) |
double |
getLow(String variableId) |
int |
getQueueSize(String variableId) |
boolean |
getStateVariableState(String variableId) |
String[] |
getVariableNameByCategory(String category) |
double |
getVeryHigh(String variableId) |
double |
getVeryLow(String variableId) |
void |
setHigh(String variableId,
double high)
Set thresholds high
|
void |
setLow(String variableId,
double low)
Set threshols low on numerical variable only
|
void |
setMonitoring(String variableId,
boolean enable)
Enable/disable
|
void |
setMonitoring(String variableId,
int queueSize)
Configure the monitoring on this object ( others parameters are not
modified )
|
void |
setMonitoring(String variableId,
int queueSize,
String ldapfilter,
boolean enable)
Configure the monitoring on this object
|
void |
setMonitoring(String variableId,
String ldapFilter)
Configure the monitoring on this object
|
void |
setVeryHigh(String variableId,
double veryHigh)
Set thresholds high
|
void |
setVeryLow(String variableId,
double veryLow)
Set threshols low on numerical variable only
|
Map |
toMap() |
chainId, nodeId, timeStamp, toString, uuidpublic String[] getCategories()
getCategories in interface SetUpgetCategories in interface Thresholdspublic String[] getVariableNameByCategory(String category)
getVariableNameByCategory in interface SetUpgetVariableNameByCategory in interface Thresholdspublic String[] getAllVariablesName()
getAllVariablesName in interface SetUpgetAllVariablesName in interface Thresholdspublic void setMonitoring(String variableId, int queueSize, String ldapfilter, boolean enable) throws CiliaIllegalParameterException, CiliaInvalidSyntaxException, CiliaIllegalStateException
SetUpsetMonitoring in interface SetUpvariableId - , name of the variable to configurequeueSize - , number of monitored value stored ( circular queue)ldapfilter - , data control flow managementenable - , true values are publishedCiliaInvalidSyntaxExceptionCiliaIllegalStateExceptionCiliaIllegalParameterExceptionpublic void setMonitoring(String variableId, int queueSize) throws CiliaIllegalParameterException, CiliaIllegalStateException
SetUpsetMonitoring in interface SetUpvariableId - , name of the variable to configurequeueSize - , number of monitored values stored ( circular queue)CiliaIllegalStateExceptionCiliaIllegalParameterExceptionpublic void setMonitoring(String variableId, String ldapFilter) throws CiliaIllegalParameterException, CiliaInvalidSyntaxException, CiliaIllegalStateException
SetUpsetMonitoring in interface SetUpvariableId - , name of the variable to configureldapFilter - , data control flow managementCiliaInvalidSyntaxExceptionCiliaIllegalStateExceptionCiliaIllegalParameterExceptionpublic void setMonitoring(String variableId, boolean enable) throws CiliaIllegalParameterException, CiliaIllegalStateException
SetUpsetMonitoring in interface SetUpvariableId - , name of the variable to configureenable - , true values are publishedCiliaIllegalStateExceptionCiliaIllegalParameterExceptionpublic String[] getAllEnabledVariable() throws CiliaIllegalStateException
getAllEnabledVariable in interface SetUpCiliaIllegalStateExceptionpublic int getQueueSize(String variableId) throws CiliaIllegalParameterException, CiliaIllegalStateException
getQueueSize in interface SetUpCiliaIllegalStateExceptionCiliaIllegalParameterExceptionpublic String getFlowControl(String variableId) throws CiliaIllegalParameterException, CiliaIllegalStateException
getFlowControl in interface SetUpCiliaIllegalParameterExceptionCiliaIllegalStateExceptionpublic void setLow(String variableId, double low) throws CiliaIllegalParameterException, CiliaIllegalStateException
ThresholdssetLow in interface ThresholdsvariableId - variable nameCiliaIllegalParameterException - if variable name is nullCiliaIllegalStateExceptionpublic void setVeryLow(String variableId, double veryLow) throws CiliaIllegalParameterException, CiliaIllegalStateException
ThresholdssetVeryLow in interface ThresholdsvariableId - variable nameCiliaIllegalParameterException - if variable name is nullCiliaIllegalStateExceptionpublic void setHigh(String variableId, double high) throws CiliaIllegalParameterException, CiliaIllegalStateException
ThresholdssetHigh in interface ThresholdsvariableId - variable nameCiliaIllegalParameterExceptionCiliaIllegalStateExceptionpublic void setVeryHigh(String variableId, double veryHigh) throws CiliaIllegalParameterException, CiliaIllegalStateException
ThresholdssetVeryHigh in interface ThresholdsvariableId - variable nameveryHigh - Double.Na if for no threshold very highCiliaIllegalParameterExceptionCiliaIllegalStateExceptionpublic double getLow(String variableId) throws CiliaIllegalParameterException, CiliaIllegalStateException
getLow in interface ThresholdsvariableId - variable nameCiliaIllegalParameterException - if variable name is nullCiliaIllegalStateExceptionpublic double getVeryLow(String variableId) throws CiliaIllegalParameterException, CiliaIllegalStateException
getVeryLow in interface ThresholdsvariableId - variable nameCiliaIllegalParameterExceptionCiliaIllegalStateExceptionpublic double getHigh(String variableId) throws CiliaIllegalParameterException, CiliaIllegalStateException
getHigh in interface ThresholdsvariableId - variable nameCiliaIllegalParameterExceptionCiliaIllegalStateExceptionpublic double getVeryHigh(String variableId) throws CiliaIllegalParameterException, CiliaIllegalStateException
getVeryHigh in interface ThresholdsvariableId - variable nameCiliaIllegalParameterExceptionCiliaIllegalStateExceptionpublic boolean getStateVariableState(String variableId) throws CiliaIllegalStateException, CiliaIllegalParameterException
getStateVariableState in interface SetUpgetStateVariableState in interface ThresholdsCiliaIllegalStateExceptionCiliaIllegalParameterExceptionCopyright © 2012-2013 Adele Team | LIG. All Rights Reserved.