Class ListCollectionFilter<T>

Type Parameters:
T - The type of the list.
All Implemented Interfaces:
IAnalysisComponent, IFilterPlugin, IPlugin

@Deprecated
public class ListCollectionFilter<T>
extends AbstractFilterPlugin
Deprecated.
1.15 ported to teetime
This filter collects the incoming objects in a simple synchronized list. It is mostly used for test purposes.
Since:
1.6
  • Field Details

  • Constructor Details

    • ListCollectionFilter

      public ListCollectionFilter​(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

    • input

      public void input​(T data)
      Deprecated.
      This method represents the input port.
      Parameters:
      data - The next element.
    • clear

      public void clear()
      Deprecated.
      Clears the list.
    • getList

      public java.util.List<T> getList()
      Deprecated.
      Delivers a copy of the internal list.
      Returns:
      The content of the internal list.
    • size

      public int size()
      Deprecated.
      Returns:
      The current number of collected objects.
    • getCurrentConfiguration

      public 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.