T
- The type of the entity to be stored in the node.public abstract class AbstractCallTreeNode<T> extends AbstractVertex<AbstractCallTreeNode<T>,WeightedDirectedCallTreeEdge<T>,MessageTrace>
Constructor and Description |
---|
AbstractCallTreeNode(int id,
T entity,
boolean rootNode,
MessageTrace origin,
IOriginRetentionPolicy originPolicy)
This constructor uses the given parameters to initialize the fields of this class.
|
Modifier and Type | Method and Description |
---|---|
protected void |
appendChildEdge(WeightedDirectedCallTreeEdge<T> destination)
Append edge to *sorted* list of children.
|
java.util.Collection<WeightedDirectedCallTreeEdge<T>> |
getChildEdges()
Delivers the child edges.
|
T |
getEntity()
Delivers the stored entity.
|
int |
getId() |
java.util.Collection<WeightedDirectedCallTreeEdge<T>> |
getOutgoingEdges()
Returns the outgoing edges of this vertex.
|
boolean |
isRootNode()
Tells whether the current node is a root node.
|
abstract AbstractCallTreeNode<T> |
newCall(T destination,
MessageTrace origin,
IOriginRetentionPolicy originPolicy) |
addDecoration, getDecoration, getDecorations
addOrigin, getColor, getDescription, getIdentifier, getOrigins, setColor, setDescription
public AbstractCallTreeNode(int id, T entity, boolean rootNode, MessageTrace origin, IOriginRetentionPolicy originPolicy)
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.public final T getEntity()
public final java.util.Collection<WeightedDirectedCallTreeEdge<T>> getChildEdges()
protected final void appendChildEdge(WeightedDirectedCallTreeEdge<T> destination)
destination
- The edge to add to the list of children edges.public abstract AbstractCallTreeNode<T> newCall(T destination, MessageTrace origin, IOriginRetentionPolicy originPolicy)
public final int getId()
public final boolean isRootNode()
public java.util.Collection<WeightedDirectedCallTreeEdge<T>> getOutgoingEdges()
AbstractVertex
getOutgoingEdges
in class AbstractVertex<AbstractCallTreeNode<T>,WeightedDirectedCallTreeEdge<T>,MessageTrace>
Copyright 2017 Kieker Project, http://kieker-monitoring.net