Class ExecutionTraceWriterFilter

java.lang.Object
teetime.framework.AbstractStage
teetime.framework.AbstractConsumerStage<T>
kieker.analysis.architecture.trace.AbstractTraceAnalysisStage<T>
kieker.analysis.architecture.trace.AbstractTraceProcessingStage<kieker.model.system.model.ExecutionTrace>
kieker.analysis.architecture.trace.sink.ExecutionTraceWriterFilter

public class ExecutionTraceWriterFilter
extends AbstractTraceProcessingStage<kieker.model.system.model.ExecutionTrace>
This class has exactly one input port named "in". The data which is send to this plugin is not delegated in any way.
Since:
1.2
  • Field Summary

    Fields inherited from class teetime.framework.AbstractConsumerStage

    inputPort

    Fields inherited from class teetime.framework.AbstractStage

    logger
  • Constructor Summary

    Constructors 
    Constructor Description
    ExecutionTraceWriterFilter​(kieker.model.repository.SystemModelRepository repository, java.io.File outputFile)
    Creates a new instance of this class using the given parameters.
  • Method Summary

    Modifier and Type Method Description
    protected void execute​(kieker.model.system.model.ExecutionTrace executionTrace)  
    protected void onTerminating()  
    void printStatusMessage()
    Returns a user-addressed status message to be logged by the calling tool.

    Methods inherited from class teetime.framework.AbstractConsumerStage

    createInputPort, execute, getInputPort

    Methods inherited from class teetime.framework.AbstractStage

    abort, addInputPortRemovedListener, addOutputPortRemovedListener, compareAndSetBeingExecuted, createInputPort, createInputPort, createInputPort, createOutputPort, createOutputPort, createOutputPort, createOutputPort, declareActive, declarePassive, executeByFramework, getCurrentState, getId, getInputPorts, getOutputPorts, getOwningThread, getTerminationStrategy, isActive, isBeingExecuted, isPaused, isProducer, isStateless, onSignal, onStarting, onValidating, removeDynamicPort, removeDynamicPort, setPaused, setStateless, shouldBeTerminated, signalAlreadyReceived, terminateStage, toString, workCompleted

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ExecutionTraceWriterFilter

      public ExecutionTraceWriterFilter​(kieker.model.repository.SystemModelRepository repository, java.io.File outputFile) throws java.io.IOException
      Creates a new instance of this class using the given parameters.
      Parameters:
      repository - system model repository
      outputFile - output file
      Throws:
      java.io.IOException - If the write stream could not be prepared.
  • Method Details

    • printStatusMessage

      public void printStatusMessage()
      Description copied from class: AbstractTraceProcessingStage
      Returns a user-addressed status message to be logged by the calling tool. Extending classes may override this method but should call the then-inherited method first.
      Overrides:
      printStatusMessage in class AbstractTraceProcessingStage<kieker.model.system.model.ExecutionTrace>
    • onTerminating

      protected void onTerminating()
      Overrides:
      onTerminating in class teetime.framework.AbstractStage
    • execute

      protected void execute​(kieker.model.system.model.ExecutionTrace executionTrace)
      Specified by:
      execute in class teetime.framework.AbstractConsumerStage<kieker.model.system.model.ExecutionTrace>