Kieker 1.5

kieker.tools.traceAnalysis.filter.traceFilter
Class TraceEquivalenceClassFilter

java.lang.Object
  extended by kieker.analysis.plugin.AbstractPlugin
      extended by kieker.analysis.plugin.filter.AbstractFilterPlugin
          extended by kieker.tools.traceAnalysis.filter.AbstractTraceAnalysisFilter
              extended by kieker.tools.traceAnalysis.filter.AbstractTraceProcessingFilter
                  extended by kieker.tools.traceAnalysis.filter.AbstractExecutionTraceProcessingFilter
                      extended by kieker.tools.traceAnalysis.filter.traceFilter.TraceEquivalenceClassFilter
All Implemented Interfaces:
IFilterPlugin, IPlugin

public class TraceEquivalenceClassFilter
extends AbstractExecutionTraceProcessingFilter

This class has exactly one input port named "in" and two output ports named "messageTraceOutput", "executionTraceOutput".

Author:
Andre van Hoorn

Nested Class Summary
static class TraceEquivalenceClassFilter.TraceEquivalenceClassModes
           
 
Nested classes/interfaces inherited from interface kieker.analysis.plugin.IPlugin
IPlugin.PluginInputPortReference
 
Field Summary
static String INPUT_PORT_NAME_EXECUTION_TRACE
           
static String OUTPUT_PORT_NAME_EXECUTION_TRACE_REPRESENTATIVES
           
static String OUTPUT_PORT_NAME_MESSAGE_TRACE_REPRESENTATIVES
           
 
Fields inherited from class kieker.tools.traceAnalysis.filter.AbstractTraceProcessingFilter
MAX_DURATION_MILLIS
 
Fields inherited from class kieker.tools.traceAnalysis.filter.AbstractTraceAnalysisFilter
REPOSITORY_PORT_NAME_SYSTEM_MODEL
 
Fields inherited from class kieker.analysis.plugin.AbstractPlugin
CONFIG_NAME
 
Constructor Summary
TraceEquivalenceClassFilter(Configuration configuration)
          Creates a new instance of this class using the given configuration object.
 
Method Summary
 Configuration getCurrentConfiguration()
          This method should deliver a Configuration object containing the current configuration of this instance.
 Map<ExecutionTrace,Integer> getEquivalenceClassMap()
           
 String getExecutionTraceInputPortName()
           
 void newExecutionTrace(ExecutionTrace et)
           
 void setTraceEquivalenceCallMode(TraceEquivalenceClassFilter.TraceEquivalenceClassModes traceEquivalenceCallMode)
           
 
Methods inherited from class kieker.tools.traceAnalysis.filter.AbstractTraceProcessingFilter
getErrorCount, getLastTraceIdError, getLastTraceIdSuccess, getSuccessCount, getTotalCount, printStatusMessage
 
Methods inherited from class kieker.tools.traceAnalysis.filter.AbstractTraceAnalysisFilter
createExecutionByEntityNames, setErrStream, setOutStream
 
Methods inherited from class kieker.analysis.plugin.filter.AbstractFilterPlugin
init, terminate
 
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
 

Field Detail

INPUT_PORT_NAME_EXECUTION_TRACE

public static final String INPUT_PORT_NAME_EXECUTION_TRACE
See Also:
Constant Field Values

OUTPUT_PORT_NAME_MESSAGE_TRACE_REPRESENTATIVES

public static final String OUTPUT_PORT_NAME_MESSAGE_TRACE_REPRESENTATIVES
See Also:
Constant Field Values

OUTPUT_PORT_NAME_EXECUTION_TRACE_REPRESENTATIVES

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

TraceEquivalenceClassFilter

public TraceEquivalenceClassFilter(Configuration configuration)
Creates a new instance of this class using the given configuration object. Keep in mind that the Trace-Equivalence-Class-Mode has to be set via the method setTraceEquivalenceCallMode before using this component!

Parameters:
configuration - The configuration object used to initialize this object.
Method Detail

setTraceEquivalenceCallMode

public void setTraceEquivalenceCallMode(TraceEquivalenceClassFilter.TraceEquivalenceClassModes traceEquivalenceCallMode)

newExecutionTrace

public void newExecutionTrace(ExecutionTrace et)

getEquivalenceClassMap

public Map<ExecutionTrace,Integer> getEquivalenceClassMap()

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.

getExecutionTraceInputPortName

public String getExecutionTraceInputPortName()
Specified by:
getExecutionTraceInputPortName in class AbstractExecutionTraceProcessingFilter

Kieker 1.5

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