Class DescriptionDecoratorFilter<V extends AbstractPayloadedVertex<V,E,O,kieker.model.system.model.ISystemModelElement>,E extends AbstractEdge<V,E,O>,O>
java.lang.Object
teetime.framework.AbstractStage
teetime.framework.AbstractConsumerStage<G>
kieker.visualization.trace.AbstractGraphFilter<AbstractGraph<V,E,O>,V,E,O>
kieker.visualization.trace.descriptions.DescriptionDecoratorFilter<V,E,O>
- Type Parameters:
V- The type of the graph's verticesE- The type of the graph's edgesO- The type of the origin of the graph's elements
- All Implemented Interfaces:
AbstractGraph.IGraphVisitor<V,E>
public class DescriptionDecoratorFilter<V extends AbstractPayloadedVertex<V,E,O,kieker.model.system.model.ISystemModelElement>,E extends AbstractEdge<V,E,O>,O> extends AbstractGraphFilter<AbstractGraph<V,E,O>,V,E,O> implements AbstractGraph.IGraphVisitor<V,E>
A filter which attaches decorations from a repository to graph entities.
- Since:
- 1.6
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDESCRIPTION_REPOSITORY_PORT_NAMEPort name at which the description repository must be connected. -
Constructor Summary
Constructors Constructor Description DescriptionDecoratorFilter(DescriptionRepository repository)Creates a new description decorator filter using the given configuration. -
Method Summary
Modifier and Type Method Description protected IOriginRetentionPolicygetDesiredOriginRetentionPolicy()protected AbstractGraph<V,E,O>performConcreteGraphProcessing(AbstractGraph<V,E,O> graph)This method encapsulates the concrete graph processing performed by the concrete filters.voidvisitEdge(E edge)Call-back operation that is invoked when an edge is encountered during graph traversal.voidvisitVertex(V vertex)Call-back operation that is invoked when a vertex is encountered during graph traversal.Methods 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, onTerminating, onValidating, removeDynamicPort, removeDynamicPort, setPaused, setStateless, shouldBeTerminated, signalAlreadyReceived, terminateStage, toString, workCompleted
-
Field Details
-
DESCRIPTION_REPOSITORY_PORT_NAME
public static final java.lang.String DESCRIPTION_REPOSITORY_PORT_NAMEPort name at which the description repository must be connected.- See Also:
- Constant Field Values
-
-
Constructor Details
-
DescriptionDecoratorFilter
Creates a new description decorator filter using the given configuration.- Parameters:
configuration- The configuration to use for this filter.projectContext- The project context to use for this filter.
-
-
Method Details
-
visitVertex
Call-back operation that is invoked when a vertex is encountered during graph traversal.- Specified by:
visitVertexin interfaceAbstractGraph.IGraphVisitor<V extends AbstractPayloadedVertex<V,E,O,kieker.model.system.model.ISystemModelElement>,E extends AbstractEdge<V,E,O>>- Parameters:
vertex- The encountered vertex
-
visitEdge
Call-back operation that is invoked when an edge is encountered during graph traversal.- Specified by:
visitEdgein interfaceAbstractGraph.IGraphVisitor<V extends AbstractPayloadedVertex<V,E,O,kieker.model.system.model.ISystemModelElement>,E extends AbstractEdge<V,E,O>>- Parameters:
edge- The encountered edge
-
performConcreteGraphProcessing
Description copied from class:AbstractGraphFilterThis method encapsulates the concrete graph processing performed by the concrete filters.- Specified by:
performConcreteGraphProcessingin classAbstractGraphFilter<AbstractGraph<V extends AbstractPayloadedVertex<V,E,O,kieker.model.system.model.ISystemModelElement>,E extends AbstractEdge<V,E,O>,O>,V extends AbstractPayloadedVertex<V,E,O,kieker.model.system.model.ISystemModelElement>,E extends AbstractEdge<V,E,O>,O>- Parameters:
graph- The graph to process- Returns:
- The processed graph, which may be the same as the input graph
-
getDesiredOriginRetentionPolicy
- Specified by:
getDesiredOriginRetentionPolicyin classAbstractGraphFilter<AbstractGraph<V extends AbstractPayloadedVertex<V,E,O,kieker.model.system.model.ISystemModelElement>,E extends AbstractEdge<V,E,O>,O>,V extends AbstractPayloadedVertex<V,E,O,kieker.model.system.model.ISystemModelElement>,E extends AbstractEdge<V,E,O>,O>
-