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, uuid
public String[] getCategories()
getCategories
in interface SetUp
getCategories
in interface Thresholds
public String[] getVariableNameByCategory(String category)
getVariableNameByCategory
in interface SetUp
getVariableNameByCategory
in interface Thresholds
public String[] getAllVariablesName()
getAllVariablesName
in interface SetUp
getAllVariablesName
in interface Thresholds
public void setMonitoring(String variableId, int queueSize, String ldapfilter, boolean enable) throws CiliaIllegalParameterException, CiliaInvalidSyntaxException, CiliaIllegalStateException
SetUp
setMonitoring
in interface SetUp
variableId
- , name of the variable to configurequeueSize
- , number of monitored value stored ( circular queue)ldapfilter
- , data control flow managementenable
- , true values are publishedCiliaInvalidSyntaxException
CiliaIllegalStateException
CiliaIllegalParameterException
public void setMonitoring(String variableId, int queueSize) throws CiliaIllegalParameterException, CiliaIllegalStateException
SetUp
setMonitoring
in interface SetUp
variableId
- , name of the variable to configurequeueSize
- , number of monitored values stored ( circular queue)CiliaIllegalStateException
CiliaIllegalParameterException
public void setMonitoring(String variableId, String ldapFilter) throws CiliaIllegalParameterException, CiliaInvalidSyntaxException, CiliaIllegalStateException
SetUp
setMonitoring
in interface SetUp
variableId
- , name of the variable to configureldapFilter
- , data control flow managementCiliaInvalidSyntaxException
CiliaIllegalStateException
CiliaIllegalParameterException
public void setMonitoring(String variableId, boolean enable) throws CiliaIllegalParameterException, CiliaIllegalStateException
SetUp
setMonitoring
in interface SetUp
variableId
- , name of the variable to configureenable
- , true values are publishedCiliaIllegalStateException
CiliaIllegalParameterException
public String[] getAllEnabledVariable() throws CiliaIllegalStateException
getAllEnabledVariable
in interface SetUp
CiliaIllegalStateException
public int getQueueSize(String variableId) throws CiliaIllegalParameterException, CiliaIllegalStateException
getQueueSize
in interface SetUp
CiliaIllegalStateException
CiliaIllegalParameterException
public String getFlowControl(String variableId) throws CiliaIllegalParameterException, CiliaIllegalStateException
getFlowControl
in interface SetUp
CiliaIllegalParameterException
CiliaIllegalStateException
public void setLow(String variableId, double low) throws CiliaIllegalParameterException, CiliaIllegalStateException
Thresholds
setLow
in interface Thresholds
variableId
- variable nameCiliaIllegalParameterException
- if variable name is nullCiliaIllegalStateException
public void setVeryLow(String variableId, double veryLow) throws CiliaIllegalParameterException, CiliaIllegalStateException
Thresholds
setVeryLow
in interface Thresholds
variableId
- variable nameCiliaIllegalParameterException
- if variable name is nullCiliaIllegalStateException
public void setHigh(String variableId, double high) throws CiliaIllegalParameterException, CiliaIllegalStateException
Thresholds
setHigh
in interface Thresholds
variableId
- variable nameCiliaIllegalParameterException
CiliaIllegalStateException
public void setVeryHigh(String variableId, double veryHigh) throws CiliaIllegalParameterException, CiliaIllegalStateException
Thresholds
setVeryHigh
in interface Thresholds
variableId
- variable nameveryHigh
- Double.Na if for no threshold very highCiliaIllegalParameterException
CiliaIllegalStateException
public double getLow(String variableId) throws CiliaIllegalParameterException, CiliaIllegalStateException
getLow
in interface Thresholds
variableId
- variable nameCiliaIllegalParameterException
- if variable name is nullCiliaIllegalStateException
public double getVeryLow(String variableId) throws CiliaIllegalParameterException, CiliaIllegalStateException
getVeryLow
in interface Thresholds
variableId
- variable nameCiliaIllegalParameterException
CiliaIllegalStateException
public double getHigh(String variableId) throws CiliaIllegalParameterException, CiliaIllegalStateException
getHigh
in interface Thresholds
variableId
- variable nameCiliaIllegalParameterException
CiliaIllegalStateException
public double getVeryHigh(String variableId) throws CiliaIllegalParameterException, CiliaIllegalStateException
getVeryHigh
in interface Thresholds
variableId
- variable nameCiliaIllegalParameterException
CiliaIllegalStateException
public boolean getStateVariableState(String variableId) throws CiliaIllegalStateException, CiliaIllegalParameterException
getStateVariableState
in interface SetUp
getStateVariableState
in interface Thresholds
CiliaIllegalStateException
CiliaIllegalParameterException
Copyright © 2012-2013 Adele Team | LIG. All Rights Reserved.