org.specrunner.plugins.core.var
Class PluginExecute
java.lang.Object
org.specrunner.parameters.core.ParameterHolder
org.specrunner.plugins.core.AbstractPlugin
org.specrunner.plugins.core.AbstractPluginNamed
org.specrunner.plugins.core.AbstractPluginScoped
org.specrunner.plugins.core.AbstractPluginValue
org.specrunner.plugins.core.AbstractPluginDual
org.specrunner.plugins.core.var.AbstractPluginDefine
org.specrunner.plugins.core.var.PluginExecute
- All Implemented Interfaces:
- IParameterHolder, IActionType, IParalelPlugin, IPlugin, ISleepPlugin, ITestPlugin, ITimedPlugin, IWaitPlugin
- Direct Known Subclasses:
- PluginExecuteLatter
public class PluginExecute
- extends AbstractPluginDefine
Perform a execution. If execute returns something bind it to a local
variable.
- Author:
- Thiago Santos
| Methods inherited from class org.specrunner.plugins.core.AbstractPlugin |
copy, getCondition, getConditionModel, getNormalized, getNormalized, getParent, getSleep, getSleepModel, getThreadsafe, getTimeout, getTimeoutModel, getWait, getWaitModel, initialize, setCondition, setConditionModel, setNormalized, setParent, setSleep, setSleepModel, setThreadsafe, setTimeout, setTimeoutModel, setWait, setWaitModel, toString |
PluginExecute
public PluginExecute()
setValue
public void setValue(Object value)
- Description copied from class:
AbstractPluginValue
- Sets the value.
- Overrides:
setValue in class AbstractPluginValue
- Parameters:
value - A new value.
getObjectValue
protected Object getObjectValue(IContext context,
nu.xom.Node node)
throws PluginException
- Description copied from class:
AbstractPluginDual
- Default behavior.
- Overrides:
getObjectValue in class AbstractPluginDual
- Parameters:
context - The context.node - The node.
- Returns:
- The value object.
- Throws:
PluginException - On evaluation errors.
operation
protected boolean operation(Object obj,
IContext context)
- Description copied from class:
AbstractPluginDual
- Stand for the testing operation.
- Overrides:
operation in class AbstractPluginDefine
- Parameters:
obj - The value to be used.context - The context.
- Returns:
- true status must be OK, false otherwise, in which case error
should be set.
Copyright © 2014. All rights reserved.