| Constructor and Description |
|---|
RunnerImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkConditional(IPlugin plugin,
IContext context)
Check condition to perform the plugin.
|
protected void |
checkTimeout(IContext context,
IResultSet result,
IPlugin plugin,
long start,
String method)
Check timeout to perform the plugin.
|
protected void |
doSleep(IPlugin plugin,
IContext context)
Perform a sleep for the step, if specified.
|
protected void |
doWait(IPlugin plugin,
IContext context)
Perform a sleep for the step, if specified.
|
protected void |
end(IContext context,
IResultSet result,
IPlugin plugin,
List<IPluginListener> listeners)
Perform end operations.
|
IBlockFilter |
getFilter()
Get runner filter.
|
protected void |
initialization(IContext context,
IResultSet result,
IPlugin plugin,
List<IPluginListener> listeners)
Perform initialization.
|
protected void |
local(nu.xom.Node node,
IContext context,
IResultSet result,
IPlugin previous)
Perform node execution.
|
protected ENext |
nodeStart(nu.xom.Node node,
IContext context,
IResultSet result,
List<INodeListener> listeners)
Perform start node listeners.
|
void |
run(IPlugin plugin,
IContext context,
IResultSet result)
Performs a plugin without a node specification.
|
void |
run(ISource source,
IContext context,
IResultSet result)
Performs the specification in source.
|
void |
run(nu.xom.Node node,
IContext context,
IResultSet result)
Performs the specification node.
|
void |
setFilter(IBlockFilter blockFilter)
Set a filter.
|
protected ENext |
start(IContext context,
IResultSet result,
IPlugin plugin,
List<IPluginListener> listeners)
Perform start operation of plugins.
|
public IBlockFilter getFilter()
IRunnerpublic void setFilter(IBlockFilter blockFilter)
IRunnerpublic void run(ISource source, IContext context, IResultSet result) throws RunnerException
IRunnerrun in interface IRunnersource - The specification.context - A context.result - A result set.RunnerException - On execution fail.public void run(nu.xom.Node node,
IContext context,
IResultSet result)
throws RunnerException
IRunnerrun in interface IRunnernode - A specification node.context - A context.result - A result set.RunnerException - On execution fail.public void run(IPlugin plugin, IContext context, IResultSet result) throws RunnerException
IRunnerrun in interface IRunnerplugin - A plugin.context - A context.result - A result set.RunnerException - On execution fail.protected void local(nu.xom.Node node,
IContext context,
IResultSet result,
IPlugin previous)
throws RunnerException
node - The node.context - The current context.result - The result.previous - The previous plugin.RunnerException - On execution errors.protected ENext nodeStart(nu.xom.Node node, IContext context, IResultSet result, List<INodeListener> listeners)
node - The node.context - The current context.result - The result.listeners - Node listeners.protected void initialization(IContext context, IResultSet result, IPlugin plugin, List<IPluginListener> listeners) throws PluginException
context - The context.result - The result set.plugin - The plugin.listeners - Plugin listeners.PluginException - On initialization errors.protected boolean checkConditional(IPlugin plugin, IContext context) throws SpecRunnerException
plugin - The plugin.context - The context.SpecRunnerException - On conditional evaluation errors.protected void doWait(IPlugin plugin, IContext context) throws SpecRunnerException
plugin - The plugin.context - The context.SpecRunnerException - On sleep checking errors.protected ENext start(IContext context, IResultSet result, IPlugin plugin, List<IPluginListener> listeners) throws SpecRunnerException
context - The context.result - The result.plugin - The plugin.listeners - List of listeners.SpecRunnerException - On start errors.protected void checkTimeout(IContext context, IResultSet result, IPlugin plugin, long start, String method) throws SpecRunnerException
context - The context.result - The result set.plugin - The plugin.start - The start time..method - The method name.SpecRunnerException - On conditional evaluation errors.protected void end(IContext context, IResultSet result, IPlugin plugin, List<IPluginListener> listeners) throws SpecRunnerException
context - The context.result - The result.plugin - The plugin.listeners - The listeners.SpecRunnerException - On ending errors.protected void doSleep(IPlugin plugin, IContext context) throws SpecRunnerException
plugin - The plugin.context - The context.SpecRunnerException - On sleep checking errors.Copyright © 2016. All rights reserved.