V
- The type of the graph's verticesE
- The type of the graph's edgesO
- The type of the origin of the graph's elementspublic class DescriptionDecoratorFilter<V extends AbstractPayloadedVertex<V,E,O,ISystemModelElement>,E extends AbstractEdge<V,E,O>,O> extends AbstractGraphFilter<AbstractGraph<V,E,O>,V,E,O> implements AbstractGraph.IGraphVisitor<V,E>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DESCRIPTION_REPOSITORY_PORT_NAME
Port name at which the description repository must be connected.
|
Constructor and Description |
---|
DescriptionDecoratorFilter(DescriptionRepository repository)
Creates a new description decorator filter using the given configuration.
|
Modifier and Type | Method and Description |
---|---|
protected IOriginRetentionPolicy |
getDesiredOriginRetentionPolicy() |
protected AbstractGraph<V,E,O> |
performConcreteGraphProcessing(AbstractGraph<V,E,O> graph)
This method encapsulates the concrete graph processing performed by the concrete filters.
|
void |
visitEdge(E edge)
Call-back operation that is invoked when an edge is encountered during graph traversal.
|
void |
visitVertex(V vertex)
Call-back operation that is invoked when a vertex is encountered during graph traversal.
|
execute, getOutputPort
createInputPort, execute, getInputPort
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
public static final java.lang.String DESCRIPTION_REPOSITORY_PORT_NAME
public DescriptionDecoratorFilter(DescriptionRepository repository)
configuration
- The configuration to use for this filter.projectContext
- The project context to use for this filter.public void visitVertex(V vertex)
visitVertex
in interface AbstractGraph.IGraphVisitor<V extends AbstractPayloadedVertex<V,E,O,ISystemModelElement>,E extends AbstractEdge<V,E,O>>
vertex
- The encountered vertexpublic void visitEdge(E edge)
visitEdge
in interface AbstractGraph.IGraphVisitor<V extends AbstractPayloadedVertex<V,E,O,ISystemModelElement>,E extends AbstractEdge<V,E,O>>
edge
- The encountered edgeprotected AbstractGraph<V,E,O> performConcreteGraphProcessing(AbstractGraph<V,E,O> graph)
AbstractGraphFilter
performConcreteGraphProcessing
in class AbstractGraphFilter<AbstractGraph<V extends AbstractPayloadedVertex<V,E,O,ISystemModelElement>,E extends AbstractEdge<V,E,O>,O>,V extends AbstractPayloadedVertex<V,E,O,ISystemModelElement>,E extends AbstractEdge<V,E,O>,O>
graph
- The graph to processprotected IOriginRetentionPolicy getDesiredOriginRetentionPolicy()
getDesiredOriginRetentionPolicy
in class AbstractGraphFilter<AbstractGraph<V extends AbstractPayloadedVertex<V,E,O,ISystemModelElement>,E extends AbstractEdge<V,E,O>,O>,V extends AbstractPayloadedVertex<V,E,O,ISystemModelElement>,E extends AbstractEdge<V,E,O>,O>
Copyright 2021 Kieker Project, http://kieker-monitoring.net