public class GraphWriterPlugin extends teetime.framework.AbstractConsumerStage<AbstractGraph<?,?,?>>
FORMATTER_REGISTRY
) to determine the appropriate formatter for a
given graph.Constructor and Description |
---|
GraphWriterPlugin(java.lang.String outputPathName,
java.lang.String outputFileName,
boolean includeWeights,
boolean useShortLabels,
boolean plotLoops)
Creates a new instance of this class using the given parameters.
|
Modifier and Type | Method and Description |
---|---|
protected void |
execute(AbstractGraph<?,?,?> graph)
Formats a given graph and saves the generated specification to disk.
|
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 GraphWriterPlugin(java.lang.String outputPathName, java.lang.String outputFileName, boolean includeWeights, boolean useShortLabels, boolean plotLoops)
outputPathName
- base path name for the output directoryoutputFileName
- filename to be used within the directoryincludeWeights
- include weights in plottinguseShortLabels
- use short labelsplotLoops
- plot loopsprotected void execute(AbstractGraph<?,?,?> graph) throws java.lang.Exception
#CONFIG_PROPERTY_NAME_OUTPUT_PATH_NAME
and #CONFIG_PROPERTY_NAME_OUTPUT_FILE_NAME
.execute
in class teetime.framework.AbstractConsumerStage<AbstractGraph<?,?,?>>
graph
- The graph to savejava.lang.Exception
Copyright 2021 Kieker Project, http://kieker-monitoring.net