Class AbstractAggregatedCallTreeFilter<T>
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.call.tree.AbstractCallTreeFilter<T>
kieker.visualization.trace.call.tree.AbstractAggregatedCallTreeFilter<T>
- Type Parameters:
T-
- Direct Known Subclasses:
AggregatedAllocationComponentOperationCallTreeFilter,AggregatedAssemblyComponentOperationCallTreeFilter
public abstract class AbstractAggregatedCallTreeFilter<T> extends AbstractCallTreeFilter<T>
This class has exactly one input port named "in". The data which is send to this plugin is not delegated in any way.
- Since:
- 1.1
-
Nested Class Summary
Nested classes/interfaces inherited from class kieker.visualization.trace.call.tree.AbstractCallTreeFilter
AbstractCallTreeFilter.IPairFactory<T> -
Field Summary
-
Constructor Summary
Constructors Constructor Description AbstractAggregatedCallTreeFilter(kieker.model.repository.SystemModelRepository repository, boolean includeWeights, boolean shortLabels, java.lang.String dotOutputFile)Creates a new instance of this class using the given parameters. -
Method Summary
Modifier and Type Method Description protected abstract TconcreteCreatePair(kieker.model.system.model.SynchronousCallMessage callMsg)HACK.protected voidexecute(kieker.model.system.model.MessageTrace trace)voidonTerminating()Saves the call tree to the dot file if error is not true.voidprintStatusMessage()voidsaveTreeToDotFile()This method tries to convert the current tree into the specified file as a valid dot file, which can later be transformed into a visual representation by dot itself.protected voidsetRoot(AbstractAggregatedCallTreeNode<T> root)Sets the root of the call tree.Methods inherited from class kieker.visualization.trace.call.tree.AbstractCallTreeFilter
addTraceToTree, nodeLabel, saveTreeToDotFile, writeDotForMessageTraceMethods 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, onValidating, removeDynamicPort, removeDynamicPort, setPaused, setStateless, shouldBeTerminated, signalAlreadyReceived, terminateStage, toString, workCompleted
-
Constructor Details
-
AbstractAggregatedCallTreeFilter
public AbstractAggregatedCallTreeFilter(kieker.model.repository.SystemModelRepository repository, boolean includeWeights, boolean shortLabels, java.lang.String dotOutputFile)Creates a new instance of this class using the given parameters.- Parameters:
repository- system model repositoryincludeWeights- include weights ingraphshortLabels- use short labelsdotOutputFile- output file name
-
-
Method Details
-
setRoot
Sets the root of the call tree.- Parameters:
root- The new root.
-
saveTreeToDotFile
public void saveTreeToDotFile() throws java.io.IOExceptionThis method tries to convert the current tree into the specified file as a valid dot file, which can later be transformed into a visual representation by dot itself.- Throws:
java.io.IOException- If something went wrong during the converting.
-
printStatusMessage
public void printStatusMessage()- Overrides:
printStatusMessagein classkieker.analysis.architecture.trace.AbstractTraceProcessingStage<kieker.model.system.model.MessageTrace>
-
onTerminating
public void onTerminating()Saves the call tree to the dot file if error is not true.- Overrides:
onTerminatingin classteetime.framework.AbstractStage
-
execute
protected void execute(kieker.model.system.model.MessageTrace trace) throws java.lang.Exception- Specified by:
executein classkieker.analysis.plugin.trace.AbstractMessageTraceProcessingFilter- Throws:
java.lang.Exception
-
concreteCreatePair
HACK. Inheriting classes should implement this method to deliver the actual pair.- Parameters:
callMsg- The call message which contains the information necessary to create the pair.- Returns:
- The actual pair.
-