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
-
Constructor Summary
Constructors Constructor Description AbstractGraphProducingFilter(SystemModelRepository repository, G graph)
Creates a new graph-producing filter using the given configuration and the given graph. -
Method Summary
Modifier and Type Method Description protected G
getGraph()
Delivers the graph stored in this filter.protected IOriginRetentionPolicy
getOriginRetentionPolicy()
teetime.framework.OutputPort<G>
getOutputPort()
protected <T> void
handleOrigin(AbstractGraphElement<T> element, T origin)
void
requestOriginRetentionPolicy(IOriginRetentionPolicy policy)
Requests that the given retention policy is used by this graph producer.Methods inherited from class kieker.analysis.plugin.trace.AbstractMessageTraceProcessingFilter
execute
Methods inherited from class kieker.analysis.architecture.trace.AbstractTraceProcessingStage
getErrorCount, getLastTraceIdError, getLastTraceIdSuccess, getSuccessCount, getTotalCount, printStatusMessage, reportError, reportSuccess
Methods inherited from class kieker.analysis.architecture.trace.AbstractTraceAnalysisStage
createExecutionByEntityNames, createExecutionByEntityNames, createExecutionByEntityNames, createExecutionByEntityNames, getSystemModelRepository, printDebugLogMessage, printErrorLogMessage
Methods inherited from class teetime.framework.AbstractConsumerStage
createInputPort, execute, getInputPort
Methods 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 AnalysisConfigurationExceptionDescription copied from interface:IGraphProducingFilter
Requests 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:
requestOriginRetentionPolicy
in interfaceIGraphProducingFilter<G extends AbstractGraph<?,?,?>>
- Parameters:
policy
- The requested policy- Throws:
AnalysisConfigurationException
- If an error occurs during the request
-
handleOrigin
-