Kieker 1.8

kieker.tools.traceAnalysis.filter.traceFilter
Class TraceEquivalenceClassFilter

java.lang.Object
  extended by kieker.analysis.analysisComponent.AbstractAnalysisComponent
      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:
IAnalysisComponent, IFilterPlugin, IPlugin

public class TraceEquivalenceClassFilter
extends AbstractExecutionTraceProcessingFilter

Since:
1.2
Author:
Andre van Hoorn

Nested Class Summary
static class TraceEquivalenceClassFilter.TraceEquivalenceClassModes
          This enum represents the different trace equivalence class modes.
 
Nested classes/interfaces inherited from interface kieker.analysis.plugin.IPlugin
IPlugin.PluginInputPortReference, IPlugin.STATE
 
Field Summary
static String CONFIG_PROPERTY_NAME_EQUIVALENCE_MODE
          This is the name of the property determining the equivalence mode.
static TraceEquivalenceClassFilter.TraceEquivalenceClassModes DEFAULT_EQUIVALENCE_MODE
          This constant determines the default equivalence mode (the default value is disabled).
static String INPUT_PORT_NAME_EXECUTION_TRACE
          This is the name of the input port receiving new execution traces.
static String OUTPUT_PORT_NAME_EXECUTION_TRACE_REPRESENTATIVES
           
static String OUTPUT_PORT_NAME_MESSAGE_TRACE_REPRESENTATIVES
           
 
Fields inherited from class kieker.tools.traceAnalysis.filter.AbstractTraceAnalysisFilter
REPOSITORY_PORT_NAME_SYSTEM_MODEL
 
Fields inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent
CONFIG_NAME
 
Constructor Summary
TraceEquivalenceClassFilter(Configuration configuration, IProjectContext projectContext)
          Creates a new instance of this class using the given parameters.
 
Method Summary
 Configuration getCurrentConfiguration()
          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.
 ConcurrentMap<ExecutionTrace,Integer> getEquivalenceClassMap()
           
 void newExecutionTrace(ExecutionTrace et)
          This method represents the input port of this filter, processing incoming execution traces.
 
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, createExecutionByEntityNames, getSystemEntityFactory, setErrStream, setOutStream
 
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, getPluginDescription, getPluginName, getState, isConnectionAllowed, shutdown, start
 
Methods inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent
getName
 
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, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getName, getPluginDescription, getPluginName, getState
 

Field Detail

INPUT_PORT_NAME_EXECUTION_TRACE

public static final String INPUT_PORT_NAME_EXECUTION_TRACE
This is the name of the input port receiving new execution traces.

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

CONFIG_PROPERTY_NAME_EQUIVALENCE_MODE

public static final String CONFIG_PROPERTY_NAME_EQUIVALENCE_MODE
This is the name of the property determining the equivalence mode.

See Also:
Constant Field Values

DEFAULT_EQUIVALENCE_MODE

public static final TraceEquivalenceClassFilter.TraceEquivalenceClassModes DEFAULT_EQUIVALENCE_MODE
This constant determines the default equivalence mode (the default value is disabled).

Constructor Detail

TraceEquivalenceClassFilter

public TraceEquivalenceClassFilter(Configuration configuration,
                                   IProjectContext projectContext)
Creates a new instance of this class using the given parameters. 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 for this component.
projectContext - The project context for this component.
Method Detail

newExecutionTrace

public void newExecutionTrace(ExecutionTrace et)
This method represents the input port of this filter, processing incoming execution traces.

Parameters:
et - The next execution trace.

getEquivalenceClassMap

public ConcurrentMap<ExecutionTrace,Integer> getEquivalenceClassMap()

getCurrentConfiguration

public Configuration getCurrentConfiguration()
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.

Kieker 1.8

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