org.specrunner.plugins
Interface IPluginGroup

All Superinterfaces:
IActionType, IComposite<IPluginGroup,IPlugin>, IParameterHolder, IPlugin
All Known Implementing Classes:
PluginGroupImpl

public interface IPluginGroup
extends IPlugin, IComposite<IPluginGroup,IPlugin>

A group plugin.

Author:
Thiago Santos

Method Summary
 IPlugin getNormalized()
          Normalizes the plugin group.
 
Methods inherited from interface org.specrunner.plugins.IPlugin
copy, doEnd, doStart, getParent, initialize, setParent
 
Methods inherited from interface org.specrunner.parameters.IParameterHolder
getParameters, setParameters
 
Methods inherited from interface org.specrunner.plugins.IActionType
getActionType
 
Methods inherited from interface org.specrunner.util.composite.IComposite
add, getChildren, isEmpty
 

Method Detail

getNormalized

IPlugin getNormalized()
Normalizes the plugin group. For example, if the group has only PluginNop instances, only one instance is enough to reflect the functionality, other example is a group with only one element, the normalized version is the contained plugin itself.

Returns:
The normalized group.


Copyright © 2014. All rights reserved.