Kieker 1.2

kieker.tools.traceAnalysis.plugins.visualization.callTree
Class AggregatedCallTreePlugin<T>

java.lang.Object
  extended by kieker.tools.traceAnalysis.plugins.AbstractTraceAnalysisPlugin
      extended by kieker.tools.traceAnalysis.plugins.AbstractTraceProcessingPlugin
          extended by kieker.tools.traceAnalysis.plugins.AbstractMessageTraceProcessingPlugin
              extended by kieker.tools.traceAnalysis.plugins.visualization.callTree.AbstractCallTreePlugin<T>
                  extended by kieker.tools.traceAnalysis.plugins.visualization.callTree.AggregatedCallTreePlugin<T>
All Implemented Interfaces:
IAnalysisPlugin
Direct Known Subclasses:
AggregatedAllocationComponentOperationCallTreePlugin, AggregatedAssemblyComponentOperationCallTreePlugin

public class AggregatedCallTreePlugin<T>
extends AbstractCallTreePlugin<T>

Author:
Andre van Hoorn

Constructor Summary
AggregatedCallTreePlugin(String name, SystemModelRepository systemEntityFactory, AbstractAggregatedCallTreeNode<T> root, File dotOutputFile, boolean includeWeights, boolean shortLabels)
           
 
Method Summary
 boolean execute()
          Initiates the start of a component.
 IInputPort<MessageTrace> getMessageTraceInputPort()
           
 void printStatusMessage()
           
 void saveTreeToDotFile(String outputFnBase, boolean includeWeights, boolean shortLabels)
           
 void terminate(boolean error)
          Saves the call tree to the dot file if error is not true.
 
Methods inherited from class kieker.tools.traceAnalysis.plugins.visualization.callTree.AbstractCallTreePlugin
writeDotForMessageTrace
 
Methods inherited from class kieker.tools.traceAnalysis.plugins.AbstractTraceProcessingPlugin
getErrorCount, getLastTraceIdError, getLastTraceIdSuccess, getSuccessCount, getTotalCount
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregatedCallTreePlugin

public AggregatedCallTreePlugin(String name,
                                SystemModelRepository systemEntityFactory,
                                AbstractAggregatedCallTreeNode<T> root,
                                File dotOutputFile,
                                boolean includeWeights,
                                boolean shortLabels)
Method Detail

saveTreeToDotFile

public void saveTreeToDotFile(String outputFnBase,
                              boolean includeWeights,
                              boolean shortLabels)
                       throws FileNotFoundException
Throws:
FileNotFoundException

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)
Saves the call tree to the dot file if error is not true.

Parameters:
error -

getMessageTraceInputPort

public IInputPort<MessageTrace> getMessageTraceInputPort()
Specified by:
getMessageTraceInputPort in class AbstractMessageTraceProcessingPlugin

Kieker 1.2

Copyright 2010 the Kieker Project, http://kieker.sourceforge.net