public class SequenceDiagramFilter extends AbstractMessageTraceProcessingFilter
Modifier and Type | Class and Description |
---|---|
static class |
SequenceDiagramFilter.SDModes |
Constructor and Description |
---|
SequenceDiagramFilter(SystemModelRepository repository,
SequenceDiagramFilter.SDModes sdmode,
java.lang.String outputFnBase,
boolean shortLabels)
Creates a new instance of this class using the given parameters.
|
Modifier and Type | Method and Description |
---|---|
protected void |
execute(MessageTrace mt) |
void |
printStatusMessage()
Returns a user-addressed status message to be logged by the calling tool.
|
static void |
writePicForMessageTrace(MessageTrace msgTrace,
SequenceDiagramFilter.SDModes sdMode,
java.lang.String outputFilename,
boolean shortLabels)
This method writes the pic code for the given message trace into the given file.
|
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, onTerminating, onValidating, removeDynamicPort, removeDynamicPort, setPaused, setStateless, shouldBeTerminated, signalAlreadyReceived, terminateStage, toString, workCompleted
public SequenceDiagramFilter(SystemModelRepository repository, SequenceDiagramFilter.SDModes sdmode, java.lang.String outputFnBase, boolean shortLabels)
configuration
- The configuration to use for this filter.projectContext
- The project context to use for this filter.public void printStatusMessage()
printStatusMessage
in class AbstractTraceProcessingStage<MessageTrace>
protected void execute(MessageTrace mt) throws java.lang.Exception
execute
in class AbstractMessageTraceProcessingFilter
java.lang.Exception
public static void writePicForMessageTrace(MessageTrace msgTrace, SequenceDiagramFilter.SDModes sdMode, java.lang.String outputFilename, boolean shortLabels) throws java.io.IOException
msgTrace
- The message trace to convert.sdMode
- The mode of the sequence diagram (allocation, assembly).shortLabels
- Determines whether to use short labels or not.outputFilename
- The name of the file in which the code will be written.java.io.IOException
- on io errorsCopyright 2021 Kieker Project, http://kieker-monitoring.net