Kieker 1.5

kieker.analysis.plugin.filter
Class AbstractFilterPlugin

java.lang.Object
  extended by kieker.analysis.plugin.AbstractPlugin
      extended by kieker.analysis.plugin.filter.AbstractFilterPlugin
All Implemented Interfaces:
IFilterPlugin, IPlugin
Direct Known Subclasses:
AbstractTimestampFilter, AbstractTraceAnalysisFilter, AbstractTraceIdFilter, CountingFilter, CurrentTimeEventGenerationFilter, RealtimeReplayDistributor, RealtimeReplayWorker, TeeFilter, TimestampFilter, TraceIdFilter, TypeFilter

public abstract class AbstractFilterPlugin
extends AbstractPlugin
implements IFilterPlugin

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.

Author:
Nils Christian Ehmke

Nested Class Summary
 
Nested classes/interfaces inherited from interface kieker.analysis.plugin.IPlugin
IPlugin.PluginInputPortReference
 
Field Summary
 
Fields inherited from class kieker.analysis.plugin.AbstractPlugin
CONFIG_NAME
 
Constructor Summary
AbstractFilterPlugin(Configuration configuration)
          The constructor for the plugin.
 
Method Summary
 boolean init()
          Initiates the start of a component.
 void terminate(boolean error)
          Initiates a termination of the component.
 
Methods inherited from class kieker.analysis.plugin.AbstractPlugin
areAllRepositoryPortsConnected, connect, connect, getAllInputPortNames, getAllOutputPortNames, getConnectedPlugins, getCurrentRepositories, getName, getPluginDescription, getPluginName, isConnectionAllowed
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface kieker.analysis.plugin.IPlugin
getCurrentConfiguration
 

Constructor Detail

AbstractFilterPlugin

public AbstractFilterPlugin(Configuration configuration)
The constructor for the plugin. Every plugin must have this constructor.

Parameters:
configuration - The configuration to use for this plugin.
Method Detail

init

public boolean init()
Description copied from interface: IFilterPlugin
Initiates the start of a component. This method is called once when a AnalysisController's run() method is called. This implementation must not be blocking! Asynchronous consumers would spawn (an) asynchronous thread(s) in this method.

Specified by:
init in interface IFilterPlugin
Returns:
true on success; false otherwise.

terminate

public void terminate(boolean error)
Description copied from interface: IFilterPlugin
Initiates a termination of the component. The value of the parameter error indicates whether an error occurred.

Specified by:
terminate in interface IFilterPlugin
Parameters:
error - true iff an error occurred.

Kieker 1.5

Copyright 2012 the Kieker Project, http://kieker-monitoring.net