kieker.tools.traceAnalysis.plugins.visualization.callTree
Class TraceCallTreePlugin
java.lang.Object
kieker.tools.traceAnalysis.plugins.AbstractTraceAnalysisPlugin
kieker.tools.traceAnalysis.plugins.AbstractTraceProcessingPlugin
kieker.tools.traceAnalysis.plugins.AbstractMessageTraceProcessingPlugin
kieker.tools.traceAnalysis.plugins.visualization.callTree.TraceCallTreePlugin
- All Implemented Interfaces:
- IAnalysisPlugin
public class TraceCallTreePlugin
- extends AbstractMessageTraceProcessingPlugin
Plugin providing the creation of calling trees both for individual traces
and an aggregated form mulitple traces.
- Author:
- Andre van Hoorn
TraceCallTreePlugin
public TraceCallTreePlugin(String name,
AllocationComponentOperationPairFactory allocationComponentOperationPairFactory,
SystemModelRepository systemEntityFactory,
String outputFnBase,
boolean shortLabels)
saveTreeToDotFile
public void saveTreeToDotFile(String outputFnBase,
boolean includeWeights,
boolean shortLabels)
throws FileNotFoundException
- Throws:
FileNotFoundException
writeDotForMessageTrace
public static void writeDotForMessageTrace(SystemModelRepository systemEntityFactory,
MessageTrace msgTrace,
String outputFilename,
boolean includeWeights,
boolean shortLabels)
throws FileNotFoundException,
TraceProcessingException
- Throws:
FileNotFoundException
TraceProcessingException
printStatusMessage
public void printStatusMessage()
- Overrides:
printStatusMessage
in class AbstractTraceProcessingPlugin
execute
public boolean execute()
- Description copied from interface:
IAnalysisPlugin
- Initiates the start of a component.
This method is called once when a TpanInstance's run() method is called.
This implementation must not be blocking!
Asynchronous consumers would spawn (an) aynchronous thread(s) in this
method.
- Returns:
- true on success; false otherwise.
terminate
public void terminate(boolean error)
- Description copied from interface:
IAnalysisPlugin
- Initiates a termination of the component. The value of the parameter
error indicates whether an error occured.
- Parameters:
error
- true iff an error occured.
getMessageTraceInputPort
public IInputPort<MessageTrace> getMessageTraceInputPort()
- Specified by:
getMessageTraceInputPort
in class AbstractMessageTraceProcessingPlugin
Copyright 2010 the Kieker Project, http://kieker.sourceforge.net>