public interface DynamicVariable extends Serializable
| Modifier and Type | Method and Description |
|---|---|
void |
addFilter(ValueFilter filter) |
String |
evaluate(VariableSubstitutor... substitutors) |
String |
getConditionid() |
List<ValueFilter> |
getFilters() |
String |
getName() |
Value |
getValue() |
Set<String> |
getVarRefs(RulesEngine rulesEngine)
This element will be called when the order of variable resolutions is
determined.
|
boolean |
isAutoUnset()
Check whether this dynamic variable should be automatically unset if its condition is not met.
|
boolean |
isChecked() |
boolean |
isCheckonce() |
void |
setAutoUnset(boolean autounset)
Configure whether this dynamic variable should be automatically unset if its condition is not met.
|
void |
setChecked() |
void |
setCheckonce(boolean checkonce) |
void |
setConditionid(String conditionid) |
void |
setIgnoreFailure(boolean ignore) |
void |
setName(String name) |
void |
setValue(Value value) |
void |
validate() |
String getName()
void setName(String name)
name - the name to setValue getValue()
void setValue(Value value)
value - the value to setString getConditionid()
void setConditionid(String conditionid)
conditionid - the conditionid to setString evaluate(VariableSubstitutor... substitutors) throws Exception
Exceptionboolean isCheckonce()
void setCheckonce(boolean checkonce)
boolean isChecked()
void setChecked()
boolean isAutoUnset()
void setAutoUnset(boolean autounset)
autounset - true if the variable is to be automatically unsetvoid setIgnoreFailure(boolean ignore)
void addFilter(ValueFilter filter)
List<ValueFilter> getFilters()
Set<String> getVarRefs(RulesEngine rulesEngine)
Copyright © 2001–2025. All rights reserved.