public class PluginGroupImpl extends CompositeImpl<IPluginGroup,IPlugin> implements IPluginGroup
| Modifier and Type | Field and Description |
|---|---|
protected int |
index
Index of last children not skipped.
|
protected IParameterDecorator |
parameters
Parameter holder.
|
protected IPluginFactory |
parent
The plugin parent factory.
|
| Constructor and Description |
|---|
PluginGroupImpl()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
IPluginGroup |
add(IPlugin child)
Adds a child plugin.
|
IPlugin |
copy(IContext context)
Creates a copy of this plugin.
|
void |
doEnd(IContext context,
IResultSet result)
The end action.
|
ENext |
doStart(IContext context,
IResultSet result)
Performs the start action.
|
ActionType |
getActionType()
Get the plugin type.
|
IPlugin |
getNormalized()
Returns the normalized version of the group.
|
IParameterDecorator |
getParameters()
Get parameters.
|
IPluginFactory |
getParent()
Get the plugin factory source.
|
void |
initialize(IContext context)
Initialize the plugin.
|
void |
setParameters(IParameterDecorator parameters)
Set the parameters.
|
void |
setParent(IPluginFactory parent)
Set the plugin factory (where it came from).
|
String |
toString() |
getChildren, isEmptyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChildren, isEmptyprotected IPluginFactory parent
protected IParameterDecorator parameters
protected int index
public IPluginFactory getParent()
IPluginpublic void setParent(IPluginFactory parent)
IPluginpublic IPluginGroup add(IPlugin child)
add in interface IComposite<IPluginGroup,IPlugin>add in class CompositeImpl<IPluginGroup,IPlugin>child - The child plugin.public IPlugin getNormalized()
getNormalized in interface IPluginGrouppublic ActionType getActionType()
IActionTypegetActionType in interface IActionTypepublic void initialize(IContext context) throws PluginException
IPlugininitialize in interface IPlugincontext - The test context.PluginException - On initialization errors.public ENext doStart(IContext context, IResultSet result) throws PluginException
IPlugindoStart in interface IPlugincontext - The context.result - The result set.PluginException - On execution errors.public void doEnd(IContext context, IResultSet result) throws PluginException
IPlugindoEnd in interface IPlugincontext - The context.result - The result set.PluginException - On execution errors.public IPlugin copy(IContext context) throws PluginException
IPlugincopy in interface IPlugincontext - The context.PluginException - On copy errors.public IParameterDecorator getParameters()
IParameterHoldergetParameters in interface IParameterHolderpublic void setParameters(IParameterDecorator parameters)
IParameterHoldersetParameters in interface IParameterHolderparameters - The parameters.Copyright © 2016. All rights reserved.