Class ExecutionTraceWriterFilter

java.lang.Object
teetime.framework.AbstractStage
teetime.framework.AbstractConsumerStage<T>

public class ExecutionTraceWriterFilter extends AbstractTraceProcessingStage<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
Author:
Andre van Hoorn, Reiner Jung -- teetime port
  • Constructor Details

    • ExecutionTraceWriterFilter

      public ExecutionTraceWriterFilter(SystemModelRepository repository, File outputFile) throws IOException
      Creates a new instance of this class using the given parameters.
      Parameters:
      repository - system model repository
      outputFile - output file
      Throws:
      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<ExecutionTrace>
    • onTerminating

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

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