public class InvalidExecutionTraceWriterSink extends AbstractTraceProcessingStage<InvalidExecutionTrace>
Constructor and Description |
---|
InvalidExecutionTraceWriterSink(SystemModelRepository repository,
java.io.File outputFile)
Creates a new instance of this class using the given parameters.
|
Modifier and Type | Method and Description |
---|---|
protected void |
execute(InvalidExecutionTrace element) |
protected void |
onTerminating() |
void |
printStatusMessage()
Returns a user-addressed status message to be logged by the calling tool.
|
getErrorCount, getLastTraceIdError, getLastTraceIdSuccess, getSuccessCount, getTotalCount, reportError, reportSuccess
createExecutionByEntityNames, createExecutionByEntityNames, createExecutionByEntityNames, createExecutionByEntityNames, getSystemModelRepository, printDebugLogMessage, printErrorLogMessage
createInputPort, execute, getInputPort
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
public InvalidExecutionTraceWriterSink(SystemModelRepository repository, java.io.File outputFile) throws java.io.IOException
repository
- system model repositoryoutputFile
- file handle for the output filejava.io.IOException
- If the write stream could not be prepared.protected void execute(InvalidExecutionTrace element) throws java.lang.Exception
execute
in class teetime.framework.AbstractConsumerStage<InvalidExecutionTrace>
java.lang.Exception
public void printStatusMessage()
AbstractTraceProcessingStage
printStatusMessage
in class AbstractTraceProcessingStage<InvalidExecutionTrace>
protected void onTerminating()
onTerminating
in class teetime.framework.AbstractStage
Copyright 2021 Kieker Project, http://kieker-monitoring.net