Kieker 1.12

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 java.lang.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 java.lang.String INPUT_PORT_NAME_EXECUTION_TRACE
          This is the name of the input port receiving new execution traces.
static java.lang.String OUTPUT_PORT_NAME_EXECUTION_TRACE_REPRESENTATIVES
           
static java.lang.String OUTPUT_PORT_NAME_MESSAGE_TRACE_REPRESENTATIVES
           
 
Fields inherited from class kieker.tools.traceAnalysis.filter.AbstractTraceAnalysisFilter
CONFIG_PROPERTY_VALUE_VERBOSE, LOG, REPOSITORY_PORT_NAME_SYSTEM_MODEL
 
Fields inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent
CONFIG_NAME, configuration, log, projectContext, recordsTimeUnitFromProjectContext
 
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.
 java.util.concurrent.ConcurrentMap<ExecutionTrace,java.lang.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, reportError, reportSuccess
 
Methods inherited from class kieker.tools.traceAnalysis.filter.AbstractTraceAnalysisFilter
createExecutionByEntityNames, createExecutionByEntityNames, createExecutionByEntityNames, createExecutionByEntityNames, getSystemEntityFactory, printDebugLogMessage, printErrorLogMessage
 
Methods inherited from class kieker.analysis.plugin.filter.AbstractFilterPlugin
init, terminate
 
Methods inherited from class kieker.analysis.plugin.AbstractPlugin
areAllRepositoryPortsConnected, connect, connect, deliver, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getDefaultConfiguration, getIncomingPlugins, getPluginDescription, getPluginName, getRepository, getState, isConnectionAllowed, notifyNewIncomingConnection, notifyNewOutgoingConnection, shutdown, start
 
Methods inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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 java.lang.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 java.lang.String OUTPUT_PORT_NAME_MESSAGE_TRACE_REPRESENTATIVES
See Also:
Constant Field Values

OUTPUT_PORT_NAME_EXECUTION_TRACE_REPRESENTATIVES

public static final java.lang.String OUTPUT_PORT_NAME_EXECUTION_TRACE_REPRESENTATIVES
See Also:
Constant Field Values

CONFIG_PROPERTY_NAME_EQUIVALENCE_MODE

public static final java.lang.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 java.util.concurrent.ConcurrentMap<ExecutionTrace,java.lang.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
Overrides:
getCurrentConfiguration in class AbstractTraceAnalysisFilter
Returns:
A completely filled configuration object.

Kieker 1.12

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