V
- The type of the graph's verticesE
- The type of the graph's edgespublic class TraceColoringFilter<V extends AbstractVertex<V,E,TraceInformation>,E extends AbstractEdge<V,E,TraceInformation>> extends AbstractGraphFilter<AbstractGraph<V,E,TraceInformation>,V,E,TraceInformation> implements AbstractGraph.IGraphVisitor<V,E>
TraceColorRepository
). Element that belong
to multiple traces get the collision color defined in the repository.IPlugin.PluginInputPortReference, IPlugin.STATE
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COLOR_REPOSITORY_PORT_NAME
Port name at which the color repository must be connected.
|
INPUT_PORT_NAME_GRAPH
CONFIG_NAME, logger, projectContext, recordsTimeUnitFromProjectContext
OUTPUT_PORT_NAME_GRAPH
Constructor and Description |
---|
TraceColoringFilter(Configuration configuration,
IProjectContext projectContext)
Creates a new filter using the given configuration.
|
Modifier and Type | Method and Description |
---|---|
protected IOriginRetentionPolicy |
getDesiredOriginRetentionPolicy() |
protected AbstractGraph<V,E,TraceInformation> |
performConcreteGraphProcessing(AbstractGraph<V,E,TraceInformation> 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 COLOR_REPOSITORY_PORT_NAME
public TraceColoringFilter(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 AbstractVertex<V,E,TraceInformation>,E extends AbstractEdge<V,E,TraceInformation>>
vertex
- The encountered vertexpublic void visitEdge(E edge)
visitEdge
in interface AbstractGraph.IGraphVisitor<V extends AbstractVertex<V,E,TraceInformation>,E extends AbstractEdge<V,E,TraceInformation>>
edge
- The encountered edgeprotected AbstractGraph<V,E,TraceInformation> performConcreteGraphProcessing(AbstractGraph<V,E,TraceInformation> graph)
performConcreteGraphProcessing
in class AbstractGraphFilter<AbstractGraph<V extends AbstractVertex<V,E,TraceInformation>,E extends AbstractEdge<V,E,TraceInformation>,TraceInformation>,V extends AbstractVertex<V,E,TraceInformation>,E extends AbstractEdge<V,E,TraceInformation>,TraceInformation>
graph
- The graph to processprotected IOriginRetentionPolicy getDesiredOriginRetentionPolicy() throws AnalysisConfigurationException
getDesiredOriginRetentionPolicy
in class AbstractGraphFilter<AbstractGraph<V extends AbstractVertex<V,E,TraceInformation>,E extends AbstractEdge<V,E,TraceInformation>,TraceInformation>,V extends AbstractVertex<V,E,TraceInformation>,E extends AbstractEdge<V,E,TraceInformation>,TraceInformation>
AnalysisConfigurationException
Copyright 2020 Kieker Project, http://kieker-monitoring.net