public abstract class AbstractPluginValue extends AbstractPluginScoped
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
eval
true, of value must be evaluated as expressions, false, otherwise.
|
protected Object |
value
Plugin value.
|
scopenameFEATURE_CONDITION, FEATURE_NORMALIZED, FEATURE_NORMALIZER, FEATURE_SLEEP, FEATURE_THREADSAFE, FEATURE_TIMEOUT, FEATURE_WAITparameters| Constructor and Description |
|---|
AbstractPluginValue() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getValue()
Get the value attribute.
|
protected Object |
getValue(Object str,
boolean evaluate,
IContext context)
Gets a value based on a string.
|
boolean |
isEval()
Says if the content must be evaluated as an expression.
|
void |
setEval(boolean eval)
Sets evaluation.
|
void |
setValue(Object value)
Sets the value.
|
getScope, saveGlobal, saveLocal, saveStrict, setScopegetName, setNamecopy, doEnd, doStart, getCondition, getConditionModel, getNormalized, getNormalized, getNormalizer, getParent, getSleep, getSleepModel, getThreadsafe, getTimeout, getTimeoutModel, getWait, getWaitModel, initialize, setCondition, setConditionModel, setNormalized, setNormalizer, setParent, setSleep, setSleepModel, setThreadsafe, setTimeout, setTimeoutModel, setWait, setWaitModel, toStringgetParameters, setParametersclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetParameters, setParametersgetActionTypeprotected boolean eval
protected Object value
public boolean isEval()
public void setEval(boolean eval)
eval - true, to enable evaluation, false, otherwise.public Object getValue()
public void setValue(Object value)
value - A new value.protected Object getValue(Object str, boolean evaluate, IContext context) throws PluginException
str - The string to be used, in case of value attribute not set.evaluate - true, if evaluate as expression is required, false, otherwise.context - The context.PluginException - On case of evaluation error.Copyright © 2016. All rights reserved.