T
- public abstract class AbstractDependencyGraphFilter<T extends ISystemModelElement> extends AbstractGraphProducingFilter<AbstractDependencyGraph<T>>
IPlugin.PluginInputPortReference, IPlugin.STATE
INPUT_PORT_NAME_MESSAGE_TRACES
CONFIG_PROPERTY_VALUE_VERBOSE, LOG, REPOSITORY_PORT_NAME_SYSTEM_MODEL
CONFIG_NAME, configuration, log, projectContext, recordsTimeUnitFromProjectContext
OUTPUT_PORT_NAME_GRAPH
Constructor and Description |
---|
AbstractDependencyGraphFilter(Configuration configuration,
IProjectContext projectContext,
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.
|
getConfigurationName, getGraph, getGraphOutputPortName, getOriginRetentionPolicy, handleOrigin, requestOriginRetentionPolicy, terminate
inputMessageTraces
getErrorCount, getLastTraceIdError, getLastTraceIdSuccess, getSuccessCount, getTotalCount, printStatusMessage, reportError, reportSuccess
createExecutionByEntityNames, createExecutionByEntityNames, createExecutionByEntityNames, createExecutionByEntityNames, getCurrentConfiguration, getSystemEntityFactory, printDebugLogMessage, printErrorLogMessage
init
areAllRepositoryPortsConnected, connect, connect, deliver, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getDefaultConfiguration, getIncomingPlugins, getPluginDescription, getPluginName, getRepository, getState, isConnectionAllowed, notifyNewIncomingConnection, 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 AbstractDependencyGraphFilter(Configuration configuration, IProjectContext projectContext, 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 2017 Kieker Project, http://kieker-monitoring.net