public abstract class AbstractPluginScoped extends AbstractPluginNamed
| Modifier and Type | Field and Description |
|---|---|
protected String |
scope
The plugin scope.
|
nameFEATURE_CONDITION, FEATURE_NORMALIZED, FEATURE_NORMALIZER, FEATURE_SLEEP, FEATURE_THREADSAFE, FEATURE_TIMEOUT, FEATURE_WAITparameters| Constructor and Description |
|---|
AbstractPluginScoped() |
| Modifier and Type | Method and Description |
|---|---|
String |
getScope()
The scope value.
|
protected void |
saveGlobal(IContext context,
String name,
Object value)
Save the value to the context, using the given scope, if specified,
otherwise to the global scope.
|
protected void |
saveLocal(IContext context,
String name,
Object value)
Save the value to the context, using the given scope, if specified,
otherwise to the local scope.
|
protected void |
saveStrict(IContext context,
String name,
Object value)
Save the value to the context, using the given scope, if specified,
otherwise to the strict scope.
|
void |
setScope(String scope)
Sets scope.
|
getName, 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 String scope
public String getScope()
public void setScope(String scope)
scope - A new scope.protected void saveStrict(IContext context, String name, Object value)
context - The context.name - The variable name.value - The variable value.protected void saveLocal(IContext context, String name, Object value)
context - The context.name - The variable name.value - The variable value.Copyright © 2016. All rights reserved.