Class TeeFilter

All Implemented Interfaces:
IAnalysisComponent, IFilterPlugin, IPlugin

@Deprecated
public final class TeeFilter
extends AbstractFilterPlugin
Deprecated.
since 1.15 ported to teetime kieker.analysis.stage.forward.TeeFilter
This filter has exactly one input port and one output port. A simple message is printed to a configurable stream and all objects are forwarded to the output port.
Since:
1.2
  • Field Details

  • Constructor Details

    • TeeFilter

      public TeeFilter​(kieker.common.configuration.Configuration configuration, IProjectContext projectContext)
      Deprecated.
      Creates a new instance of this class using the given parameters.
      Parameters:
      configuration - The configuration for this component.
      projectContext - The project context for this component.
  • Method Details

    • terminate

      public final void terminate​(boolean error)
      Deprecated.
      Description copied from class: AbstractFilterPlugin
      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
      Overrides:
      terminate in class AbstractFilterPlugin
      Parameters:
      error - Determines whether the plugin is terminated due to an error or not.
    • getCurrentConfiguration

      public final kieker.common.configuration.Configuration getCurrentConfiguration()
      Deprecated.
      This method should deliver a 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.
      Specified by:
      getCurrentConfiguration in interface IAnalysisComponent
      Specified by:
      getCurrentConfiguration in interface IPlugin
      Specified by:
      getCurrentConfiguration in class AbstractAnalysisComponent
      Returns:
      A completely filled configuration object.
    • inputEvent

      public final void inputEvent​(java.lang.Object object)
      Deprecated.
      This method is the input port of the filter receiving incoming objects. Every object will be printed into a stream (based on the configuration) before the filter sends it to the output port.
      Parameters:
      object - The new object.