public abstract class AbstractPluginDual extends AbstractPluginValue
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
onstart
Adjust execution moment, if on start node or at the end.
|
eval, valuescopenameFEATURE_CONDITION, FEATURE_NORMALIZED, FEATURE_NORMALIZER, FEATURE_SLEEP, FEATURE_THREADSAFE, FEATURE_TIMEOUT, FEATURE_WAITparameters| Constructor and Description |
|---|
AbstractPluginDual() |
| Modifier and Type | Method and Description |
|---|---|
void |
doEnd(IContext context,
IResultSet result)
The end action.
|
ENext |
doStart(IContext context,
IResultSet result)
Performs the start action.
|
protected abstract Throwable |
getError()
Gets the error, if the
operation returns false. |
protected Object |
getObjectValue(IContext context,
nu.xom.Node node)
Default behavior.
|
Boolean |
getOnstart()
Get if execute on start.
|
protected abstract boolean |
operation(Object obj,
IContext context)
Stand for the testing operation.
|
protected ENext |
perform(IContext context,
IResultSet result)
Perform plugin action/assertion.
|
void |
setOnstart(Boolean onstart)
Set on start flag.
|
getValue, getValue, isEval, setEval, setValuegetScope, saveGlobal, saveLocal, saveStrict, setScopegetName, setNamecopy, 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 onstart
public Boolean getOnstart()
public void setOnstart(Boolean onstart)
onstart - On start execution.public ENext doStart(IContext context, IResultSet result) throws PluginException
IPlugindoStart in interface IPlugindoStart in class AbstractPlugincontext - The context.result - The result set.PluginException - On execution errors.public void doEnd(IContext context, IResultSet result) throws PluginException
IPlugindoEnd in interface IPlugindoEnd in class AbstractPlugincontext - The context.result - The result set.PluginException - On execution errors.protected ENext perform(IContext context, IResultSet result) throws PluginException
context - The context.result - The result.PluginException - On plugin execution errors.protected Object getObjectValue(IContext context, nu.xom.Node node) throws PluginException
context - The context.node - The node.PluginException - On evaluation errors.protected abstract boolean operation(Object obj, IContext context) throws PluginException
obj - The value to be used.context - The context.PluginException - On operation errors.protected abstract Throwable getError()
operation returns false.Copyright © 2016. All rights reserved.