Kieker 1.2

kieker.tools.traceAnalysis.plugins.traceFilter
Class TraceEquivalenceClassFilter

java.lang.Object
  extended by kieker.tools.traceAnalysis.plugins.AbstractTraceAnalysisPlugin
      extended by kieker.tools.traceAnalysis.plugins.AbstractTraceProcessingPlugin
          extended by kieker.tools.traceAnalysis.plugins.AbstractExecutionTraceProcessingPlugin
              extended by kieker.tools.traceAnalysis.plugins.traceFilter.TraceEquivalenceClassFilter
All Implemented Interfaces:
IAnalysisPlugin

public class TraceEquivalenceClassFilter
extends AbstractExecutionTraceProcessingPlugin

Author:
Andre van Hoorn

Nested Class Summary
static class TraceEquivalenceClassFilter.TraceEquivalenceClassModes
           
 
Constructor Summary
TraceEquivalenceClassFilter(String name, SystemModelRepository systemEntityFactory, TraceEquivalenceClassFilter.TraceEquivalenceClassModes traceEquivalenceCallMode)
           
 
Method Summary
 boolean execute()
          Initiates the start of a component.
 HashMap<ExecutionTrace,Integer> getEquivalenceClassMap()
           
 IInputPort<ExecutionTrace> getExecutionTraceInputPort()
           
 IOutputPort<ExecutionTrace> getExecutionTraceOutputPort()
           
 IOutputPort<MessageTrace> getMessageTraceOutputPort()
           
 void terminate(boolean error)
          Initiates a termination of the component.
 
Methods inherited from class kieker.tools.traceAnalysis.plugins.AbstractTraceProcessingPlugin
getErrorCount, getLastTraceIdError, getLastTraceIdSuccess, getSuccessCount, getTotalCount, printStatusMessage
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TraceEquivalenceClassFilter

public TraceEquivalenceClassFilter(String name,
                                   SystemModelRepository systemEntityFactory,
                                   TraceEquivalenceClassFilter.TraceEquivalenceClassModes traceEquivalenceCallMode)
Method Detail

getExecutionTraceInputPort

public IInputPort<ExecutionTrace> getExecutionTraceInputPort()
Specified by:
getExecutionTraceInputPort in class AbstractExecutionTraceProcessingPlugin

getMessageTraceOutputPort

public IOutputPort<MessageTrace> getMessageTraceOutputPort()

getExecutionTraceOutputPort

public IOutputPort<ExecutionTrace> getExecutionTraceOutputPort()

execute

public boolean execute()
Description copied from interface: IAnalysisPlugin
Initiates the start of a component. This method is called once when a TpanInstance's run() method is called. This implementation must not be blocking! Asynchronous consumers would spawn (an) aynchronous thread(s) in this method.

Returns:
true on success; false otherwise.

terminate

public void terminate(boolean error)
Description copied from interface: IAnalysisPlugin
Initiates a termination of the component. The value of the parameter error indicates whether an error occured.

Parameters:
error - true iff an error occured.

getEquivalenceClassMap

public HashMap<ExecutionTrace,Integer> getEquivalenceClassMap()

Kieker 1.2

Copyright 2010 the Kieker Project, http://kieker.sourceforge.net