|
Kieker 1.11 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kieker.analysis.analysisComponent.AbstractAnalysisComponent kieker.analysis.plugin.AbstractPlugin kieker.analysis.plugin.filter.AbstractFilterPlugin
public abstract class AbstractFilterPlugin
This class should be used as a base for every analysis plugin used within Kieker. For reader plugins, the class
AbstractReaderPlugin
should be used instead.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface kieker.analysis.plugin.IPlugin |
---|
IPlugin.PluginInputPortReference, IPlugin.STATE |
Field Summary |
---|
Fields inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent |
---|
CONFIG_NAME, configuration, log, LOG, projectContext, recordsTimeUnitFromProjectContext |
Constructor Summary | |
---|---|
AbstractFilterPlugin(Configuration configuration,
IProjectContext projectContext)
Each Plugin requires a constructor with a Configuration object and a IProjectContext. |
Method Summary | |
---|---|
boolean |
init()
Initiates the start of a component. |
void |
terminate(boolean error)
Initiates a termination of the plugin. |
Methods inherited from class kieker.analysis.plugin.AbstractPlugin |
---|
areAllRepositoryPortsConnected, connect, connect, deliver, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getDefaultConfiguration, getIncomingPlugins, getPluginDescription, getPluginName, getRepository, getState, isConnectionAllowed, notifyNewIncomingConnection, notifyNewOutgoingConnection, shutdown, start |
Methods inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent |
---|
getCurrentConfiguration, getName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface kieker.analysis.plugin.IPlugin |
---|
connect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentConfiguration, getCurrentRepositories, getName, getPluginDescription, getPluginName, getState |
Constructor Detail |
---|
public AbstractFilterPlugin(Configuration configuration, IProjectContext projectContext)
configuration
- The configuration for this component.projectContext
- The project context for this component. The component will be registered.Method Detail |
---|
public boolean init()
init
in interface IPlugin
public void terminate(boolean error)
AnalysisController.terminate(boolean)
instead.
After receiving this notification, the plugin should terminate any running
methods, e.g., read for readers.
terminate
in interface IPlugin
error
- Determines whether the plugin is terminated due to an error or not.
|
Kieker 1.11 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |