|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.specrunner.util.composite.core.CompositeImpl<IPluginGroup,IPlugin>
org.specrunner.plugins.core.PluginGroupImpl
public class PluginGroupImpl
Default plugin group implementation.
| Constructor Summary | |
|---|---|
PluginGroupImpl()
Default constructor. |
|
| Method Summary | |
|---|---|
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. i.e. after a loop specification perform something in a newly generated table. |
ENext |
doStart(IContext context,
IResultSet result)
Performs the start action. i.e. create a database schema. |
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()
|
| Methods inherited from class org.specrunner.util.composite.core.CompositeImpl |
|---|
getChildren, isEmpty |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.specrunner.util.composite.IComposite |
|---|
getChildren, isEmpty |
| Constructor Detail |
|---|
public PluginGroupImpl()
| Method Detail |
|---|
public IPluginFactory getParent()
IPlugin
getParent in interface IPluginpublic void setParent(IPluginFactory parent)
IPlugin
setParent in interface IPluginparent - The factory.public 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()
IActionType
getActionType in interface IActionType
public void initialize(IContext context)
throws PluginException
IPlugin
initialize in interface IPlugincontext - The test context.
PluginException - On initialization errors.
public ENext doStart(IContext context,
IResultSet result)
throws PluginException
IPlugin
doStart in interface IPlugincontext - The context.result - The result set.
PluginException - On execution errors.
public void doEnd(IContext context,
IResultSet result)
throws PluginException
IPlugin
doEnd in interface IPlugincontext - The context.result - The result set.
PluginException - On execution errors.
public IPlugin copy(IContext context)
throws PluginException
IPlugin
copy in interface IPlugincontext - The context.
PluginException - On copy errors.public IParameterDecorator getParameters()
IParameterHolder
getParameters in interface IParameterHolderpublic void setParameters(IParameterDecorator parameters)
IParameterHolder
setParameters in interface IParameterHolderparameters - The parameters.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||