Package kieker.visualization.trace
Class SequenceDiagramFilter
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.MessageTrace>
kieker.analysis.plugin.trace.AbstractMessageTraceProcessingFilter
kieker.visualization.trace.SequenceDiagramFilter
public class SequenceDiagramFilter
extends kieker.analysis.plugin.trace.AbstractMessageTraceProcessingFilter
Refactored copy from LogAnalysis-legacy tool
This class has exactly one input port named "in". The data which is send to this plugin is not delegated in any way.
This class has exactly one input port named "in". The data which is send to this plugin is not delegated in any way.
- Since:
- 0.95a
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSequenceDiagramFilter.SDModes -
Field Summary
-
Constructor Summary
Constructors Constructor Description SequenceDiagramFilter(kieker.model.repository.SystemModelRepository repository, SequenceDiagramFilter.SDModes sdmode, java.lang.String outputFnBase, boolean shortLabels)Creates a new instance of this class using the given parameters. -
Method Summary
Modifier and Type Method Description protected voidexecute(kieker.model.system.model.MessageTrace mt)voidprintStatusMessage()static voidwritePicForMessageTrace(kieker.model.system.model.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.Methods inherited from class kieker.analysis.architecture.trace.AbstractTraceProcessingStage
getErrorCount, getLastTraceIdError, getLastTraceIdSuccess, getSuccessCount, getTotalCount, reportError, reportSuccessMethods inherited from class kieker.analysis.architecture.trace.AbstractTraceAnalysisStage
createExecutionByEntityNames, createExecutionByEntityNames, createExecutionByEntityNames, createExecutionByEntityNames, getSystemModelRepository, printDebugLogMessage, printErrorLogMessageMethods inherited from class teetime.framework.AbstractConsumerStage
createInputPort, execute, getInputPortMethods 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, onTerminating, onValidating, removeDynamicPort, removeDynamicPort, setPaused, setStateless, shouldBeTerminated, signalAlreadyReceived, terminateStage, toString, workCompleted
-
Constructor Details
-
SequenceDiagramFilter
public SequenceDiagramFilter(kieker.model.repository.SystemModelRepository repository, SequenceDiagramFilter.SDModes sdmode, java.lang.String outputFnBase, boolean shortLabels)Creates a new instance of this class using the given parameters.- Parameters:
configuration- The configuration to use for this filter.projectContext- The project context to use for this filter.
-
-
Method Details
-
printStatusMessage
public void printStatusMessage()- Overrides:
printStatusMessagein classkieker.analysis.architecture.trace.AbstractTraceProcessingStage<kieker.model.system.model.MessageTrace>
-
execute
protected void execute(kieker.model.system.model.MessageTrace mt) throws java.lang.Exception- Specified by:
executein classkieker.analysis.plugin.trace.AbstractMessageTraceProcessingFilter- Throws:
java.lang.Exception
-
writePicForMessageTrace
public static void writePicForMessageTrace(kieker.model.system.model.MessageTrace msgTrace, SequenceDiagramFilter.SDModes sdMode, java.lang.String outputFilename, boolean shortLabels) throws java.io.IOExceptionThis method writes the pic code for the given message trace into the given file.- Parameters:
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.- Throws:
java.io.IOException- on io errors
-