public interface VariableStateNonConstHandler
VariableManagementService
to handle variable persistent state.Modifier and Type | Method and Description |
---|---|
void |
addVariable(String deploymentId,
String variableName,
Variable variable,
DataInputOutputSerde serde) |
NullableObject<Object> |
getHasState(Variable variable,
int agentInstanceId)
Returns the current variable state plus Boolean.TRUE if there is a current state since the variable
may have the value of null; returns Boolean.FALSE and null if there is no current state
|
DataInputOutputSerde |
getVariableSerde(String deploymentId,
VariableMetaData metaData) |
void |
removeState(Variable variable,
int agentInstanceId) |
void |
removeVariable(Variable variable,
String deploymentId,
Set<Integer> cps) |
void |
setState(Variable variable,
int agentInstanceId,
Object newValue)
Sets the new variable value
|
DataInputOutputSerde getVariableSerde(String deploymentId, VariableMetaData metaData)
void addVariable(String deploymentId, String variableName, Variable variable, DataInputOutputSerde serde)
NullableObject<Object> getHasState(Variable variable, int agentInstanceId)
variable
- variableagentInstanceId
- agent instance idvoid setState(Variable variable, int agentInstanceId, Object newValue)
variable
- variableagentInstanceId
- agent instance idnewValue
- new variable value, null values allowedvoid removeState(Variable variable, int agentInstanceId)
Copyright © 2005–2018. All rights reserved.