Kieker 1.2

kieker.tools.traceAnalysis.plugins.visualization.dependencyGraph
Class OperationDependencyGraphPluginAllocation

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.dependencyGraph.AbstractDependencyGraphPlugin<AllocationComponentOperationPair>
                  extended by kieker.tools.traceAnalysis.plugins.visualization.dependencyGraph.OperationDependencyGraphPluginAllocation
All Implemented Interfaces:
IAnalysisPlugin

public class OperationDependencyGraphPluginAllocation
extends AbstractDependencyGraphPlugin<AllocationComponentOperationPair>

Refactored copy from LogAnalysis-legacy tool

Author:
Andre van Hoorn, Lena Stöver, Matthias Rohr,

Field Summary
 
Fields inherited from class kieker.tools.traceAnalysis.plugins.visualization.dependencyGraph.AbstractDependencyGraphPlugin
STEREOTYPE_ALLOCATION_COMPONENT, STEREOTYPE_ASSEMBLY_COMPONENT, STEREOTYPE_EXECUTION_CONTAINER
 
Constructor Summary
OperationDependencyGraphPluginAllocation(String name, SystemModelRepository systemEntityFactory, File dotOutputFile, boolean includeWeights, boolean shortLabels, boolean includeSelfLoops)
           
 
Method Summary
 boolean execute()
          Initiates the start of a component.
 IInputPort<MessageTrace> getMessageTraceInputPort()
           
 void terminate(boolean error)
          Saves the dependency graph to the dot file if error is not true.
 
Methods inherited from class kieker.tools.traceAnalysis.plugins.visualization.dependencyGraph.AbstractDependencyGraphPlugin
printStatusMessage, saveToDotFile
 
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

OperationDependencyGraphPluginAllocation

public OperationDependencyGraphPluginAllocation(String name,
                                                SystemModelRepository systemEntityFactory,
                                                File dotOutputFile,
                                                boolean includeWeights,
                                                boolean shortLabels,
                                                boolean includeSelfLoops)
Method Detail

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 dependency graph 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