|
Kieker 1.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPlugin
Nested Class Summary | |
---|---|
static class |
IPlugin.PluginInputPortReference
|
static class |
IPlugin.STATE
An enumeration used to describe the state of an AbstractPlugin . |
Method Summary | |
---|---|
void |
connect(String name,
AbstractRepository repo)
Connects the given repository to this plugin via the given name. |
String[] |
getAllDisplayNames()
|
String[] |
getAllInputPortNames()
|
String[] |
getAllOutputPortNames()
|
List<IPlugin.PluginInputPortReference> |
getConnectedPlugins(String outputPortName)
Delivers the plugins with their ports which are connected with the given output port. |
Configuration |
getCurrentConfiguration()
This method should deliver a Configuration object containing the current configuration of this instance. |
Map<String,AbstractRepository> |
getCurrentRepositories()
This method delivers an array of AbstractRepository containing the current repositories of this instance. |
String |
getName()
This method delivers the current name of this plugin instance. |
String |
getPluginDescription()
This method delivers the description of this plugin type. |
String |
getPluginName()
This method delivers the plugin name of this plugin. |
IPlugin.STATE |
getState()
|
boolean |
init()
Initiates the start of a component. |
void |
terminate(boolean error)
Initiates a termination of the plugin. |
Method Detail |
---|
boolean init()
void terminate(boolean error)
AnalysisController.terminate(boolean)
instead.
After receiving this notification, the plugin should terminate any running
methods, e.g., read for readers.
Configuration getCurrentConfiguration()
Configuration
object containing the current configuration of this instance. In other words: The constructor should be
able to use the given object to initialize a new instance of this class with the same intern properties.
String getPluginName()
String getPluginDescription()
String getName()
void connect(String name, AbstractRepository repo) throws AnalysisConfigurationException
AnalysisController.connect
instead!
name
- The name of the port to connect the repository.repo
- The repository which should be used.
AnalysisConfigurationException
- if the repository-port is invalid, the repository itself is incompatible or the port is already used.Map<String,AbstractRepository> getCurrentRepositories()
AbstractRepository
containing the current repositories of this instance. In other words: The constructor should
be able to use the given object to initialize a new instance of this class with the same intern properties.
String[] getAllOutputPortNames()
String[] getAllInputPortNames()
String[] getAllDisplayNames()
List<IPlugin.PluginInputPortReference> getConnectedPlugins(String outputPortName)
outputPortName
- The name of the output port.
IPlugin.STATE getState()
|
Kieker 1.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |