|
Kieker 1.11 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kieker.tools.traceAnalysis.filter.visualization.graph.AbstractGraphElement<O> kieker.tools.traceAnalysis.filter.visualization.graph.AbstractVertex<V,E,O> kieker.tools.traceAnalysis.filter.visualization.graph.AbstractPayloadedVertex<DependencyGraphNode<T>,WeightedBidirectionalDependencyGraphEdge<T>,TraceInformation,T> kieker.tools.traceAnalysis.filter.visualization.dependencyGraph.DependencyGraphNode<T>
T
- The type of the entity to be stored in this node.public class DependencyGraphNode<T extends ISystemModelElement>
This class represents a single node within a dependency graph.
Field Summary | |
---|---|
static int |
ROOT_NODE_ID
|
Constructor Summary | |
---|---|
DependencyGraphNode(int id,
T entity,
TraceInformation origin,
IOriginRetentionPolicy originPolicy)
Creates a new instance of this class using the given parameters. |
Method Summary | |
---|---|
void |
addIncomingDependency(DependencyGraphNode<T> source,
boolean isAssumed,
TraceInformation origin,
IOriginRetentionPolicy originPolicy)
Adds an incoming dependency to this node. |
void |
addIncomingDependency(DependencyGraphNode<T> source,
TraceInformation origin,
IOriginRetentionPolicy originPolicy)
Adds an incoming dependency to this node. |
void |
addOutgoingDependency(DependencyGraphNode<T> destination,
boolean isAssumed,
TraceInformation origin,
IOriginRetentionPolicy originPolicy)
Adds an outgoing dependency to this node. |
void |
addOutgoingDependency(DependencyGraphNode<T> destination,
TraceInformation origin,
IOriginRetentionPolicy originPolicy)
Adds an outgoing dependency to this node. |
java.util.Collection<WeightedBidirectionalDependencyGraphEdge<T>> |
getAssumedIncomingDependencies()
|
java.util.Collection<WeightedBidirectionalDependencyGraphEdge<T>> |
getAssumedOutgoingDependencies()
|
T |
getEntity()
|
java.lang.String |
getFormattedDecorations()
|
int |
getId()
|
java.lang.String |
getIdentifier()
Returns an identifier for this graph element (e.g., a label). |
java.util.Collection<WeightedBidirectionalDependencyGraphEdge<T>> |
getIncomingDependencies()
|
java.util.Collection<WeightedBidirectionalDependencyGraphEdge<T>> |
getOutgoingDependencies()
|
java.util.Collection<WeightedBidirectionalDependencyGraphEdge<T>> |
getOutgoingEdges()
Returns the outgoing edges of this vertex. |
boolean |
isAssumed()
|
void |
setAssumed()
Sets the assumed flag of this node to true . |
Methods inherited from class kieker.tools.traceAnalysis.filter.visualization.graph.AbstractPayloadedVertex |
---|
getPayload |
Methods inherited from class kieker.tools.traceAnalysis.filter.visualization.graph.AbstractVertex |
---|
addDecoration, getDecoration, getDecorations |
Methods inherited from class kieker.tools.traceAnalysis.filter.visualization.graph.AbstractGraphElement |
---|
addOrigin, getColor, getDescription, getOrigins, setColor, setDescription |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ROOT_NODE_ID
Constructor Detail |
---|
public DependencyGraphNode(int id, T entity, TraceInformation origin, IOriginRetentionPolicy originPolicy)
id
- The ID of this node.entity
- The entity which will be the payload of this node.origin
- The trace information which will be additional meta data for this node.originPolicy
- The origin policy.Method Detail |
---|
public final T getEntity()
public java.lang.String getIdentifier()
AbstractGraphElement
getIdentifier
in class AbstractGraphElement<TraceInformation>
null
if no identifier can be determinedpublic final java.util.Collection<WeightedBidirectionalDependencyGraphEdge<T>> getIncomingDependencies()
public final java.util.Collection<WeightedBidirectionalDependencyGraphEdge<T>> getOutgoingDependencies()
public java.util.Collection<WeightedBidirectionalDependencyGraphEdge<T>> getAssumedIncomingDependencies()
public java.util.Collection<WeightedBidirectionalDependencyGraphEdge<T>> getAssumedOutgoingDependencies()
public void setAssumed()
true
.
public boolean isAssumed()
public void addOutgoingDependency(DependencyGraphNode<T> destination, TraceInformation origin, IOriginRetentionPolicy originPolicy)
destination
- The destination of the dependency.origin
- The origin of the destination.originPolicy
- The origin policy of the destination.public void addOutgoingDependency(DependencyGraphNode<T> destination, boolean isAssumed, TraceInformation origin, IOriginRetentionPolicy originPolicy)
destination
- The destination of the dependency.isAssumed
- Whether the dependency is assumed or not.origin
- The origin of the destination.originPolicy
- The origin policy of the destination.public void addIncomingDependency(DependencyGraphNode<T> source, TraceInformation origin, IOriginRetentionPolicy originPolicy)
source
- The source of the dependency.origin
- The origin of the destination.originPolicy
- The origin policy of the destination.public void addIncomingDependency(DependencyGraphNode<T> source, boolean isAssumed, TraceInformation origin, IOriginRetentionPolicy originPolicy)
source
- The source of the dependency.isAssumed
- Whether the dependency is assumed or not.origin
- The origin of the destination.originPolicy
- The origin policy of the destination.public final int getId()
public java.lang.String getFormattedDecorations()
public java.util.Collection<WeightedBidirectionalDependencyGraphEdge<T>> getOutgoingEdges()
AbstractVertex
getOutgoingEdges
in class AbstractVertex<DependencyGraphNode<T extends ISystemModelElement>,WeightedBidirectionalDependencyGraphEdge<T extends ISystemModelElement>,TraceInformation>
|
Kieker 1.11 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |