Package kieker.visualization.trace
Class AbstractGraphFilter<G extends AbstractGraph<V,E,O>,V extends AbstractVertex<V,E,O>,E extends AbstractEdge<V,E,O>,O>
java.lang.Object
teetime.framework.AbstractStage
teetime.framework.AbstractConsumerStage<G>
kieker.visualization.trace.AbstractGraphFilter<G,V,E,O>
- Type Parameters:
G- The graph that is processed by this filterV- The vertex type of the graphE- The edge type of the graphO- The type of the graph's elements origins
- Direct Known Subclasses:
DescriptionDecoratorFilter,TraceColoringFilter
public abstract class AbstractGraphFilter<G extends AbstractGraph<V,E,O>,V extends AbstractVertex<V,E,O>,E extends AbstractEdge<V,E,O>,O>
extends teetime.framework.AbstractConsumerStage<G>
Abstract superclass for all graph filters.
- Since:
- 1.6
- Author:
- Holger Knoche
-
Field Summary
Fields inherited from class teetime.framework.AbstractConsumerStage
inputPortFields inherited from class teetime.framework.AbstractStage
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidProcesses the given graph.protected abstract IOriginRetentionPolicyteetime.framework.OutputPort<G>protected abstract GperformConcreteGraphProcessing(G graph) This method encapsulates the concrete graph processing performed by the concrete filters.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
-
Constructor Details
-
AbstractGraphFilter
public AbstractGraphFilter()Creates a new filter with the given configuration.
-
-
Method Details
-
getDesiredOriginRetentionPolicy
protected abstract IOriginRetentionPolicy getDesiredOriginRetentionPolicy() throws AnalysisConfigurationException- Throws:
AnalysisConfigurationException
-
execute
Processes the given graph. -
getOutputPort
-
performConcreteGraphProcessing
This method encapsulates the concrete graph processing performed by the concrete filters.- Parameters:
graph- The graph to process- Returns:
- The processed graph, which may be the same as the input graph
-