Package kieker.visualization.trace
Class AbstractGraphProducingFilter<G extends AbstractGraph<?,?,?>>
java.lang.Object
teetime.framework.AbstractStage
teetime.framework.AbstractConsumerStage<T>
kieker.analysis.architecture.trace.AbstractTraceAnalysisStage<T>
kieker.analysis.architecture.trace.AbstractTraceProcessingStage<MessageTrace>
kieker.analysis.plugin.trace.AbstractMessageTraceProcessingFilter
kieker.visualization.trace.AbstractGraphProducingFilter<G>
- Type Parameters:
G- The graph type created by this filter
- All Implemented Interfaces:
IGraphProducingFilter<G>
- Direct Known Subclasses:
AbstractDependencyGraphFilter
public abstract class AbstractGraphProducingFilter<G extends AbstractGraph<?,?,?>>
extends AbstractMessageTraceProcessingFilter
implements IGraphProducingFilter<G>
Abstract superclass for graph-producing filters.
- Since:
- 1.6
- Author:
- Holger Knoche, Reiner Jung -- teetime port
-
Field Summary
Fields inherited from class teetime.framework.AbstractConsumerStage
inputPortFields inherited from class teetime.framework.AbstractStage
logger -
Constructor Summary
ConstructorsConstructorDescriptionAbstractGraphProducingFilter(SystemModelRepository repository, G graph) Creates a new graph-producing filter using the given configuration and the given graph. -
Method Summary
Modifier and TypeMethodDescriptionprotected GgetGraph()Delivers the graph stored in this filter.protected IOriginRetentionPolicyteetime.framework.OutputPort<G>protected <T> voidhandleOrigin(AbstractGraphElement<T> element, T origin) voidRequests that the given retention policy is used by this graph producer.Methods inherited from class kieker.analysis.plugin.trace.AbstractMessageTraceProcessingFilter
executeMethods inherited from class kieker.analysis.architecture.trace.AbstractTraceProcessingStage
getErrorCount, getLastTraceIdError, getLastTraceIdSuccess, getSuccessCount, getTotalCount, printStatusMessage, reportError, reportSuccessMethods inherited from class kieker.analysis.architecture.trace.AbstractTraceAnalysisStage
createExecutionByEntityNames, createExecutionByEntityNames, createExecutionByEntityNames, createExecutionByEntityNames, getSystemModelRepository, printDebugLogMessage, printErrorLogMessageMethods 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
-
AbstractGraphProducingFilter
Creates a new graph-producing filter using the given configuration and the given graph.- Parameters:
repository- model repositorygraph- The (usually empty) graph to produce / extend
-
-
Method Details
-
getOutputPort
-
getGraph
Delivers the graph stored in this filter.- Returns:
- The graph.
-
getOriginRetentionPolicy
-
requestOriginRetentionPolicy
public void requestOriginRetentionPolicy(IOriginRetentionPolicy policy) throws AnalysisConfigurationException Description copied from interface:IGraphProducingFilterRequests that the given retention policy is used by this graph producer. Note that the producer may choose to use a more liberal, compatible retention policy to satisfy the needs of other graph consumers (seeIOriginRetentionPolicy.isCompatibleWith(IOriginRetentionPolicy)).- Specified by:
requestOriginRetentionPolicyin interfaceIGraphProducingFilter<G extends AbstractGraph<?,?, ?>> - Parameters:
policy- The requested policy- Throws:
AnalysisConfigurationException- If an error occurs during the request
-
handleOrigin
-