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>
IPlugin.PluginInputPortReference, IPlugin.STATE
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DESCRIPTION_REPOSITORY_PORT_NAME
Port name at which the description repository must be connected.
|
INPUT_PORT_NAME_GRAPH
CONFIG_NAME, log, LOG, projectContext, recordsTimeUnitFromProjectContext
OUTPUT_PORT_NAME_GRAPH
Constructor and Description |
---|
DescriptionDecoratorFilter(Configuration configuration,
IProjectContext projectContext)
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.
|
getCurrentConfiguration, getGraphInputPortName, getGraphOutputPortName, init, notifyNewIncomingConnection, processGraph
terminate
areAllRepositoryPortsConnected, connect, connect, deliver, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getDefaultConfiguration, getIncomingPlugins, getPluginDescription, getPluginName, getRepository, getState, isConnectionAllowed, notifyNewOutgoingConnection, shutdown, start
getName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
connect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getName, getPluginDescription, getPluginName, getState
public static final java.lang.String DESCRIPTION_REPOSITORY_PORT_NAME
public DescriptionDecoratorFilter(Configuration configuration, IProjectContext projectContext)
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 2017 Kieker Project, http://kieker-monitoring.net