Class AbstractFilterPlugin

java.lang.Object
All Implemented Interfaces:
IAnalysisComponent, IFilterPlugin, IPlugin
Direct Known Subclasses:
AbstractGraphFilter, AbstractTraceAnalysisFilter, AbstractUpdateableFilterPlugin, AnalysisThroughputFilter, CountingFilter, CurrentTimeEventGenerationFilter, EventRecordTraceReconstructionFilter, GraphWriterPlugin, ListCollectionFilter, MonitoringThroughputFilter, RealtimeRecordDelayFilter, SessionReconstructionFilter, StringBufferFilter, TeeFilter, ThreadEvent2TraceEventFilter, TimestampFilter, TraceAggregationFilter, TraceIdFilter, TypeFilter

@Deprecated
public abstract class AbstractFilterPlugin
extends AbstractPlugin
implements IFilterPlugin
Deprecated.
since 1.15.1 old plugin api
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.
Since:
1.5
Author:
Nils Christian Ehmke
  • Constructor Details

    • AbstractFilterPlugin

      public AbstractFilterPlugin​(Configuration configuration, IProjectContext projectContext)
      Deprecated.
      Each Plugin requires a constructor with a Configuration object and a IProjectContext.
      Parameters:
      configuration - The configuration for this component.
      projectContext - The project context for this component. The component will be registered.
  • Method Details

    • init

      public boolean init()
      Deprecated.
      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 IPlugin
      Returns:
      true on success; false otherwise.
    • terminate

      public void terminate​(boolean error)
      Deprecated.
      Initiates a termination of the plugin. This method is only used by the framework and should not be called manually. Use the method AnalysisController.terminate(boolean) instead. After receiving this notification, the plugin should terminate any running methods, e.g., read for readers.
      Specified by:
      terminate in interface IPlugin
      Parameters:
      error - Determines whether the plugin is terminated due to an error or not.