Kieker 1.6

kieker.analysis.plugin.filter.forward
Class ListCollectionFilter<T>

java.lang.Object
  extended by kieker.analysis.plugin.AbstractPlugin
      extended by kieker.analysis.plugin.filter.AbstractFilterPlugin
          extended by kieker.analysis.plugin.filter.forward.ListCollectionFilter<T>
Type Parameters:
T -
All Implemented Interfaces:
IFilterPlugin, IPlugin

public class ListCollectionFilter<T>
extends AbstractFilterPlugin

Author:
Nils Ehmke, Jan Waller

Nested Class Summary
 
Nested classes/interfaces inherited from interface kieker.analysis.plugin.IPlugin
IPlugin.PluginInputPortReference, IPlugin.STATE
 
Field Summary
static String INPUT_PORT_NAME
           
static String OUTPUT_PORT_NAME
           
 
Fields inherited from class kieker.analysis.plugin.AbstractPlugin
CONFIG_NAME
 
Constructor Summary
ListCollectionFilter(Configuration configuration)
           
 
Method Summary
 void clear()
           
 Configuration getCurrentConfiguration()
          This method should deliver a Configuration object containing the current configuration of this instance.
 List<T> getList()
           
 void input(Object data)
           
 int size()
          Returns the current number of collected objects.
 
Methods inherited from class kieker.analysis.plugin.filter.AbstractFilterPlugin
init, terminate
 
Methods inherited from class kieker.analysis.plugin.AbstractPlugin
areAllRepositoryPortsConnected, connect, connect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getIncomingPlugins, getName, getPluginDescription, getPluginName, getState, isConnectionAllowed, shutdown, start
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface kieker.analysis.plugin.IPlugin
connect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getConnectedPlugins, getCurrentRepositories, getName, getPluginDescription, getPluginName, getState
 

Field Detail

INPUT_PORT_NAME

public static final String INPUT_PORT_NAME
See Also:
Constant Field Values

OUTPUT_PORT_NAME

public static final String OUTPUT_PORT_NAME
See Also:
Constant Field Values
Constructor Detail

ListCollectionFilter

public ListCollectionFilter(Configuration configuration)
Method Detail

input

public void input(Object data)

clear

public void clear()

getList

public List<T> getList()

size

public int size()
Returns the current number of collected objects.


getCurrentConfiguration

public Configuration getCurrentConfiguration()
Description copied from interface: IPlugin
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.

Returns:
A completely filled configuration object.

Kieker 1.6

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