|
Kieker 1.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPlugin
This is the interface for plugins within Kieker.
Nested Class Summary | |
---|---|
static class |
IPlugin.PluginInputPortReference
This simple class represents a container for the reference between a plugin, its input port and the corresponding method. |
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()
Delivers an array containing all display names. |
String[] |
getAllInputPortNames()
Delivers an array containing all input port names. |
String[] |
getAllOutputPortNames()
Delivers an array containing all output port names. |
String[] |
getAllRepositoryPortNames()
Delivers an array containing all repository port names. |
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.
error
- Determines whether the plugin is terminated due to an error or not.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.
getCurrentConfiguration
in interface IAnalysisComponent
String getPluginName()
String getPluginDescription()
String getName()
getName
in interface IAnalysisComponent
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()
String[] getAllRepositoryPortNames()
List<IPlugin.PluginInputPortReference> getConnectedPlugins(String outputPortName)
outputPortName
- The name of the output port.
IPlugin.STATE getState()
|
Kieker 1.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |