| Modifier and Type | Method and Description |
|---|---|
IResultSet |
ISpecRunnerPlugin.run(IPlugin plugin)
Runs a plugin.
|
IResultSet |
ISpecRunnerPlugin.run(IPlugin plugin,
IConfiguration configuration)
Runs a specification using a given configuration.
|
| Modifier and Type | Method and Description |
|---|---|
IPlugin |
IBlock.getPlugin()
The plugin related to the block.
|
| Modifier and Type | Method and Description |
|---|---|
IBlock |
IBlockFactory.newBlock(nu.xom.Node node,
IPlugin plugin)
Creates a new block.
|
IBlock |
IBlockFactory.newBlock(nu.xom.Node node,
IPlugin plugin,
Map<String,Object> map)
Create a new block.
|
void |
IBlock.setPlugin(IPlugin plugin)
Sets the block plugin.
|
| Modifier and Type | Method and Description |
|---|---|
IBlock |
IContext.getByPlugin(Class<? extends IPlugin> type)
Search a block by plugin type.
|
IBlock |
IContext.getParentByPlugin(Class<? extends IPlugin> type)
Strict parent search by plugin type.
|
| Modifier and Type | Field and Description |
|---|---|
protected IPlugin |
BlockImpl.plugin
The plugin node.
|
| Modifier and Type | Method and Description |
|---|---|
IPlugin |
ContextImpl.getPlugin() |
IPlugin |
BlockImpl.getPlugin() |
| Modifier and Type | Method and Description |
|---|---|
IBlock |
ContextImpl.newBlock(nu.xom.Node node,
IPlugin plugin) |
IBlock |
BlockFactoryImpl.newBlock(nu.xom.Node element,
IPlugin plugin) |
IBlock |
ContextImpl.newBlock(nu.xom.Node node,
IPlugin plugin,
Map<String,Object> map) |
IBlock |
BlockFactoryImpl.newBlock(nu.xom.Node element,
IPlugin plugin,
Map<String,Object> map) |
void |
ContextImpl.setPlugin(IPlugin plugin) |
void |
BlockImpl.setPlugin(IPlugin plugin) |
| Modifier and Type | Method and Description |
|---|---|
protected IBlock |
ContextImpl.findPlugin(int start,
Class<? extends IPlugin> type)
Find a plugin by type.
|
IBlock |
ContextImpl.getByPlugin(Class<? extends IPlugin> type) |
IBlock |
ContextImpl.getParentByPlugin(Class<? extends IPlugin> type) |
| Constructor and Description |
|---|
BlockImpl(nu.xom.Node node,
IPlugin plugin,
Map<String,Object> map)
Creates a block with node, plugin and mapping.
|
| Modifier and Type | Method and Description |
|---|---|
protected IResultSet |
SpecRunnerPluginPipeline.doRun(IPlugin plugin,
IConfiguration configuration)
Perform runner.
|
IResultSet |
SpecRunnerPluginPipeline.run(IPlugin plugin) |
IResultSet |
SpecRunnerPluginPipeline.run(IPlugin plugin,
IConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
static IPlugin |
PipePlugin.lookup(IChannel channel)
Recover plugin from channel.
|
| Modifier and Type | Method and Description |
|---|---|
static IChannel |
PipePlugin.bind(IChannel channel,
IPlugin obj)
Bind the object to the channel.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
SpecRunnerJUnitPlugin.defaultRun(IPlugin input)
Basic execution.
|
static void |
SpecRunnerJUnitPlugin.defaultRun(IPlugin input,
IConfiguration cfg)
Execution with a given configuration.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IPluginListener.onAfterEnd(IPlugin plugin,
IContext context,
IResultSet result)
Perform some action after plugin ending.
|
void |
IPluginListener.onAfterInit(IPlugin plugin,
IContext context,
IResultSet result)
Perform some action after plugin initialization.
|
void |
IPluginListener.onAfterStart(IPlugin plugin,
IContext context,
IResultSet result)
Perform some action after plugin start.
|
void |
IPluginListener.onBeforeEnd(IPlugin plugin,
IContext context,
IResultSet result)
Perform some action before plugin ending.
|
void |
IPluginListener.onBeforeInit(IPlugin plugin,
IContext context,
IResultSet result)
Perform some action before plugin initialization.
|
void |
IPluginListener.onBeforeStart(IPlugin plugin,
IContext context,
IResultSet result)
Perform some action before plugin start.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract Class<? extends IPlugin> |
AbstractScenarioWrapperListener.getOnEnd()
On end plugin type.
|
protected Class<? extends IPlugin> |
AbstractScenarioWrapperBeforeListener.getOnEnd() |
protected abstract Class<? extends IPlugin> |
AbstractScenarioWrapperListener.getOnStart()
On start plugin type.
|
protected Class<? extends IPlugin> |
AbstractScenarioWrapperAfterListener.getOnStart() |
| Modifier and Type | Method and Description |
|---|---|
void |
TagPluginListener.onAfterEnd(IPlugin plugin,
IContext context,
IResultSet result) |
void |
ProfilerPluginListener.onAfterEnd(IPlugin plugin,
IContext context,
IResultSet result) |
void |
AbstractPluginListener.onAfterEnd(IPlugin plugin,
IContext context,
IResultSet result) |
void |
ProfilerPluginListener.onAfterInit(IPlugin plugin,
IContext context,
IResultSet result) |
void |
AbstractPluginListener.onAfterInit(IPlugin plugin,
IContext context,
IResultSet result) |
void |
ProfilerPluginListener.onAfterStart(IPlugin plugin,
IContext context,
IResultSet result) |
void |
AbstractPluginListener.onAfterStart(IPlugin plugin,
IContext context,
IResultSet result) |
void |
ProfilerPluginListener.onBeforeEnd(IPlugin plugin,
IContext context,
IResultSet result) |
void |
AbstractPluginListener.onBeforeEnd(IPlugin plugin,
IContext context,
IResultSet result) |
void |
ProfilerPluginListener.onBeforeInit(IPlugin plugin,
IContext context,
IResultSet result) |
void |
AbstractPluginListener.onBeforeInit(IPlugin plugin,
IContext context,
IResultSet result) |
void |
ProfilerPluginListener.onBeforeStart(IPlugin plugin,
IContext context,
IResultSet result) |
void |
AbstractPluginListener.onBeforeStart(IPlugin plugin,
IContext context,
IResultSet result) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractScenarioWrapperListener.append(nu.xom.Node node,
IContext context,
IResultSet result,
Class<? extends IPlugin> type,
String message,
boolean onStart)
Append a start and and tag to a scenario.
|
protected nu.xom.Element |
AbstractScenarioWrapperListener.createElement(Class<? extends IPlugin> type,
String message)
Create element to add.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
IParalelPlugin
Stand for a plugin with concurrency constrains.
|
interface |
IPluginGroup
A group plugin.
|
interface |
ISleepPlugin
Stand for a plugin with sleep after execution.
|
interface |
ITestPlugin
Perform a plugin execution based on a condition.
|
interface |
ITimedPlugin
Stand for a plugin with time constrains.
|
interface |
IWaitPlugin
Stand for a plugin with sleep before execution.
|
| Modifier and Type | Method and Description |
|---|---|
IPlugin |
IPlugin.copy(IContext context)
Creates a copy of this plugin.
|
IPlugin |
IPluginGroup.getNormalized()
Normalizes the plugin group.
|
IPlugin |
IPluginFactory.newPlugin(nu.xom.Node source,
IContext context)
Creates a new plugin.
|
| Modifier and Type | Method and Description |
|---|---|
Class<? extends IPlugin> |
IPluginFactory.getClass(String alias)
Given a name, return the corresponding plugin class associated.
|
| Modifier and Type | Method and Description |
|---|---|
IPluginFactory |
IPluginFactory.bind(PluginKind kind,
String alias,
IPlugin plugin)
Bind a plugin instance to a given kind.
|
boolean |
IPluginFactory.finalizePlugin(nu.xom.Node source,
IContext context,
IPlugin plugin)
Finalize a plugin.
|
| Modifier and Type | Method and Description |
|---|---|
String |
IPluginFactory.getAlias(Class<? extends IPlugin> type)
Given a class, for example, return the corresponding alias for the
plugin.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractPlugin
Adapter for plugins.
|
class |
AbstractPluginDual
A generic plugin which performs a test, it the result is true, a success
result is added, otherwise adds an error to the result.
|
class |
AbstractPluginNamed
A plugin with name information.
|
class |
AbstractPluginScoped
A plugin with scope information.
|
class |
AbstractPluginTable
Adapter for plugins on tables.
|
class |
AbstractPluginValue
Stand for a plugin with a value attribute, or a value which must be calculate
by evaluating the content of the specification.
|
class |
PluginAssertion
Plugin of type assertion.
|
class |
PluginGroupImpl
Default plugin group implementation.
|
class |
PluginNop
Default no-operation plugin.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends IPlugin> |
UtilPlugin.create(IContext context,
Class<T> type,
nu.xom.Element element)
Equivalent to
create(...,false). |
static <T extends IPlugin> |
UtilPlugin.create(IContext context,
Class<T> type,
nu.xom.Element element,
boolean initialize)
Creates a plugin based on its type.
|
| Modifier and Type | Method and Description |
|---|---|
IPlugin |
PluginGroupImpl.copy(IContext context) |
IPlugin |
AbstractPlugin.copy(IContext context) |
static IPlugin |
UtilPlugin.create(IContext context,
IPlugin instance,
nu.xom.Element element)
Equivalent to
create(...,false). |
static IPlugin |
UtilPlugin.create(IContext context,
IPlugin instance,
nu.xom.Element element,
boolean initialize)
Creates a plugin based on its template.
|
static IPlugin |
UtilPlugin.destroy(IContext context,
IPlugin plugin,
nu.xom.Element element)
Make plugin sensible to attributes after running.
|
static IPlugin |
PluginNop.emptyPlugin()
Returns the singleton version of the plugin.
|
IPlugin |
PluginGroupImpl.getNormalized()
Returns the normalized version of the group.
|
| Modifier and Type | Method and Description |
|---|---|
IPluginGroup |
PluginGroupImpl.add(IPlugin child)
Adds a child plugin.
|
static void |
UtilPlugin.compare(nu.xom.Node node,
IPlugin plugin,
IResultSet result,
IComparator comparator,
Object expected,
Object received)
Perform a comparison and add the result to the given node.
|
static IPlugin |
UtilPlugin.create(IContext context,
IPlugin instance,
nu.xom.Element element)
Equivalent to
create(...,false). |
static IPlugin |
UtilPlugin.create(IContext context,
IPlugin instance,
nu.xom.Element element,
boolean initialize)
Creates a plugin based on its template.
|
static IPlugin |
UtilPlugin.destroy(IContext context,
IPlugin plugin,
nu.xom.Element element)
Make plugin sensible to attributes after running.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PluginMap
Creates a memory map.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractPluginResource
Helper class for resources plugins.
|
class |
AbstractPluginResourceReplaceable
Plugin to replace resources.
|
class |
AbstractPluginResourceReplaceableSrc
Plugin to replace 'src' resources.
|
class |
PluginHtml
Html tag scope.
|
class |
PluginImg
Plugin to add image resources.
|
class |
PluginLink
Add resources of 'link' tags.
|
class |
PluginScript
Add resources of 'link' tags.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Class<? extends IPlugin>> |
PluginFactoryImpl.aliasToTypes
Map from alias to types.
|
protected static ThreadLocal<IPlugin> |
PluginFactoryText.instance
Concurrent instance of plugin.
|
protected Map<String,IPlugin> |
PluginFactoryImpl.templates
Map from alias to templates.
|
| Modifier and Type | Method and Description |
|---|---|
IPlugin |
PluginFactoryText.newPlugin(nu.xom.Node node,
IContext context) |
IPlugin |
PluginFactoryGroupImpl.newPlugin(nu.xom.Node node,
IContext context) |
IPlugin |
PluginFactoryElement.newPlugin(nu.xom.Node node,
IContext context) |
IPlugin |
PluginFactoryCustom.newPlugin(nu.xom.Node node,
IContext context) |
IPlugin |
PluginFactoryCSS.newPlugin(nu.xom.Node node,
IContext context) |
IPlugin |
PluginFactoryAttribute.newPlugin(nu.xom.Node node,
IContext context) |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends IPlugin> |
PluginFactoryText.getClass(String alias) |
Class<? extends IPlugin> |
PluginFactoryImpl.getClass(String alias) |
Class<? extends IPlugin> |
PluginFactoryGroupImpl.getClass(String alias) |
| Modifier and Type | Method and Description |
|---|---|
IPluginFactory |
PluginFactoryText.bind(PluginKind type,
String alias,
IPlugin plugin) |
IPluginFactory |
PluginFactoryImpl.bind(PluginKind kind,
String alias,
IPlugin plugin) |
IPluginFactory |
PluginFactoryGroupImpl.bind(PluginKind kind,
String alias,
IPlugin plugin) |
boolean |
PluginFactoryText.finalizePlugin(nu.xom.Node source,
IContext context,
IPlugin plugin) |
boolean |
PluginFactoryImpl.finalizePlugin(nu.xom.Node source,
IContext context,
IPlugin plugin) |
boolean |
PluginFactoryGroupImpl.finalizePlugin(nu.xom.Node source,
IContext context,
IPlugin plugin) |
| Modifier and Type | Method and Description |
|---|---|
String |
PluginFactoryText.getAlias(Class<? extends IPlugin> type) |
String |
PluginFactoryImpl.getAlias(Class<? extends IPlugin> type) |
String |
PluginFactoryGroupImpl.getAlias(Class<? extends IPlugin> type) |
| Modifier and Type | Class and Description |
|---|---|
class |
PluginElse
The 'else' side of a conditional test.
|
class |
PluginExecuteRows
Perform table actions.
|
class |
PluginFor
Performs a indexed loop.
|
class |
PluginIf
Create a condition execution.
|
class |
PluginIfBranch
Performs the branch selection.
|
class |
PluginIterable
Perform an iteration.
|
class |
PluginIterator
Perform an iteration over a collection.
|
class |
PluginPause
Allows a pause in execution, waiting for an 'OK' in dialog, or 'Enter' when
'enter'attribute is set to true.
|
class |
PluginRepeat
Replicate headers of table to lines, repeating behavior expected by header.
|
class |
PluginThen
The 'then' side of a conditional test.
|
class |
PluginWhile
Performs a conditional loop.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PluginColumn
This plugin stand for a SLIM/Fit Column like plugin implementation.
|
class |
PluginImport
Add package information as SLIM import tables.
|
class |
PluginInclude
Allow a file inclusion.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PluginSentence
A natural language plugin to perform pattern matching like
JBehave/Cucumber/Twist fixtures.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PluginCompareTree
Perform a comparison of nodes.
|
class |
PluginEquals
Compare elements.
|
class |
PluginNotEquals
The dual of equals.
|
class |
PluginVerifyObjects |
class |
PluginVerifyRows
Perform table verifications.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PluginCall
A plugin which calls a macro by its name.
|
class |
PluginMacro
The plugin which creates a macro.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractPluginObject
Generic object plugin.
|
class |
AbstractPluginObjectCompare<T>
Performs comparison of objects.
|
class |
AbstractPluginObjectCompareAll<T>
Check if a given list of objects is the same of object manager.
|
class |
AbstractPluginObjectSelect<T>
Perform something on a selected object.
|
class |
AbstractPluginObjectSelectNone<T>
Check if an object is not in object repository.
|
class |
AbstractPluginObjectSelectUnique<T>
Performs something on a selected object.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PluginAll
Check if a given list of objects is the same in memory.
|
class |
PluginCollection
Maps a object but do not persist it.
|
class |
PluginContains
Check if a given list of objects is present in memory.
|
class |
PluginDelete
Delete object from memory.
|
class |
PluginInsert
Maps a object but do not persist it.
|
class |
PluginNotContains
Check if an object is not in memory.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PluginReplacer
Replace text elements by their evaluated expressions.
|
class |
PluginReplacerMap
Replace mapped elements.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractPluginDefine
Defines variables.
|
class |
PluginBean
A bean plugin.
|
class |
PluginDefineCondition
Defines a condition variable.
|
class |
PluginDefineGlobal
Defines a global variable.
|
class |
PluginDefineLocal
Defines a local variable.
|
class |
PluginExecute
Perform a execution.
|
class |
PluginExecuteLatter
Perform child actions before assertions.
|
class |
PluginSet
Defines a global variable in unsilent evaluation mode.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IRunner.run(IPlugin plugin,
IContext context,
IResultSet result)
Performs a plugin without a node specification.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
RunnerImpl.checkConditional(IPlugin plugin,
IContext context)
Check condition to perform the plugin.
|
protected void |
RunnerImpl.checkTimeout(IContext context,
IResultSet result,
IPlugin plugin,
long start,
String method)
Check timeout to perform the plugin.
|
protected void |
RunnerImpl.doSleep(IPlugin plugin,
IContext context)
Perform a sleep for the step, if specified.
|
protected void |
RunnerImpl.doWait(IPlugin plugin,
IContext context)
Perform a sleep for the step, if specified.
|
protected void |
RunnerImpl.end(IContext context,
IResultSet result,
IPlugin plugin,
List<IPluginListener> listeners)
Perform end operations.
|
protected void |
RunnerImpl.initialization(IContext context,
IResultSet result,
IPlugin plugin,
List<IPluginListener> listeners)
Perform initialization.
|
protected void |
RunnerImpl.local(nu.xom.Node node,
IContext context,
IResultSet result,
IPlugin previous)
Perform node execution.
|
void |
RunnerImpl.run(IPlugin plugin,
IContext context,
IResultSet result) |
protected ENext |
RunnerImpl.start(IContext context,
IResultSet result,
IPlugin plugin,
List<IPluginListener> listeners)
Perform start operation of plugins.
|
Copyright © 2016. All rights reserved.