Class TraceCallTreeNode
java.lang.Object
kieker.tools.trace.analysis.filter.visualization.graph.AbstractGraphElement<O>
kieker.tools.trace.analysis.filter.visualization.graph.AbstractVertex<AbstractCallTreeNode<T>,WeightedDirectedCallTreeEdge<T>,MessageTrace>
kieker.visualization.trace.call.tree.AbstractCallTreeNode<AllocationComponentOperationPair>
kieker.visualization.trace.call.tree.TraceCallTreeNode
public class TraceCallTreeNode extends AbstractCallTreeNode<AllocationComponentOperationPair>
This class represents a single node within the trace call tree.
- Since:
- 1.1
- Author:
- Andre van Hoorn
-
Constructor Summary
Constructors Constructor Description TraceCallTreeNode(int id, AllocationComponentOperationPair entity, boolean rootNode, MessageTrace origin, IOriginRetentionPolicy originPolicy)
Creates a new instance of this class using the given parameters. -
Method Summary
Modifier and Type Method Description java.lang.String
getIdentifier()
Returns an identifier for this graph element (e.g., a label).AbstractCallTreeNode<AllocationComponentOperationPair>
newCall(AllocationComponentOperationPair destination, MessageTrace origin, IOriginRetentionPolicy originPolicy)
Methods inherited from class kieker.visualization.trace.call.tree.AbstractCallTreeNode
appendChildEdge, getChildEdges, getEntity, getId, getOutgoingEdges, isRootNode, toString
Methods inherited from class kieker.tools.trace.analysis.filter.visualization.graph.AbstractVertex
addDecoration, getDecoration, getDecorations
Methods inherited from class kieker.tools.trace.analysis.filter.visualization.graph.AbstractGraphElement
addOrigin, getColor, getDescription, getOrigins, setColor, setDescription
-
Constructor Details
-
TraceCallTreeNode
public TraceCallTreeNode(int id, AllocationComponentOperationPair entity, boolean rootNode, MessageTrace origin, IOriginRetentionPolicy originPolicy)Creates a new instance of this class using the given parameters.- Parameters:
id
- The identifier of this node.entity
- The content of this node.rootNode
- Determines whether this node is the root node or not.origin
- The meta data of this node.originPolicy
- The origin policy.
-
-
Method Details
-
newCall
public AbstractCallTreeNode<AllocationComponentOperationPair> newCall(AllocationComponentOperationPair destination, MessageTrace origin, IOriginRetentionPolicy originPolicy)- Specified by:
newCall
in classAbstractCallTreeNode<AllocationComponentOperationPair>
-
getIdentifier
public java.lang.String getIdentifier()Description copied from class:AbstractGraphElement
Returns an identifier for this graph element (e.g., a label).- Specified by:
getIdentifier
in classAbstractGraphElement<MessageTrace>
- Returns:
- An identifier or
null
if no identifier can be determined
-