T - subtype of a ISystemModelElementpublic abstract class AbstractDependencyGraphFilter<T extends ISystemModelElement> extends AbstractGraphProducingFilter<AbstractDependencyGraph<T>>
| Constructor and Description |
|---|
AbstractDependencyGraphFilter(SystemModelRepository repository,
java.util.concurrent.TimeUnit timeUnit,
AbstractDependencyGraph<T> graph)
Creates a new abstract dependency graph filter using the given data.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDecorator(AbstractNodeDecorator decorator)
Adds a node decorator to this graph.
|
protected void |
invokeDecorators(AbstractMessage message,
DependencyGraphNode<?> sourceNode,
DependencyGraphNode<?> targetNode)
This is a helper method to invoke all decorators and send them a message.
|
protected boolean |
isDependencyAssumed(DependencyGraphNode<?> source,
DependencyGraphNode<?> target)
Determines whether the given edge is assumed or not.
|
getGraph, getOriginRetentionPolicy, getOutputPort, handleOrigin, requestOriginRetentionPolicyexecutegetErrorCount, getLastTraceIdError, getLastTraceIdSuccess, getSuccessCount, getTotalCount, printStatusMessage, reportError, reportSuccesscreateExecutionByEntityNames, createExecutionByEntityNames, createExecutionByEntityNames, createExecutionByEntityNames, getSystemModelRepository, printDebugLogMessage, printErrorLogMessagecreateInputPort, execute, getInputPortabort, 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, workCompletedpublic AbstractDependencyGraphFilter(SystemModelRepository repository, java.util.concurrent.TimeUnit timeUnit, AbstractDependencyGraph<T> graph)
configuration - The configuration to use for this filter.projectContext - The project context to use for this filter.graph - The graph to produce / extendpublic void addDecorator(AbstractNodeDecorator decorator)
decorator - The decorator to addprotected void invokeDecorators(AbstractMessage message, DependencyGraphNode<?> sourceNode, DependencyGraphNode<?> targetNode)
message - The message to send the decorators.sourceNode - The source node.targetNode - The target node.protected boolean isDependencyAssumed(DependencyGraphNode<?> source, DependencyGraphNode<?> target)
source - The source of the edge.target - The target of the edge.Copyright 2021 Kieker Project, http://kieker-monitoring.net