|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.specrunner.runner.core.RunnerImpl
public class RunnerImpl
Default runner implementation.
| Constructor Summary | |
|---|---|
RunnerImpl()
|
|
| Method Summary | |
|---|---|
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. |
IFilter |
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(IFilter filter)
Set a filter. |
protected ENext |
start(IContext context,
IResultSet result,
IPlugin plugin,
List<IPluginListener> listeners)
Perform start operation of plugins. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RunnerImpl()
| Method Detail |
|---|
public IFilter getFilter()
IRunner
getFilter in interface IRunnerpublic void setFilter(IFilter filter)
IRunner
setFilter in interface IRunnerfilter - A block filter.
public void run(ISource source,
IContext context,
IResultSet result)
throws RunnerException
IRunner
run 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
IRunner
run 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
IRunner
run 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||