Kieker 1.12

kieker.tools.traceAnalysis.filter.visualization.dependencyGraph
Class AbstractDependencyGraphFilter<T extends ISystemModelElement>

java.lang.Object
  extended by kieker.analysis.analysisComponent.AbstractAnalysisComponent
      extended by kieker.analysis.plugin.AbstractPlugin
          extended by kieker.analysis.plugin.filter.AbstractFilterPlugin
              extended by kieker.tools.traceAnalysis.filter.AbstractTraceAnalysisFilter
                  extended by kieker.tools.traceAnalysis.filter.AbstractTraceProcessingFilter
                      extended by kieker.tools.traceAnalysis.filter.AbstractMessageTraceProcessingFilter
                          extended by kieker.tools.traceAnalysis.filter.AbstractGraphProducingFilter<AbstractDependencyGraph<T>>
                              extended by kieker.tools.traceAnalysis.filter.visualization.dependencyGraph.AbstractDependencyGraphFilter<T>
Type Parameters:
T -
All Implemented Interfaces:
IAnalysisComponent, IFilterPlugin, IPlugin, IGraphOutputtingFilter<AbstractDependencyGraph<T>>, IGraphProducingFilter<AbstractDependencyGraph<T>>
Direct Known Subclasses:
ComponentDependencyGraphAllocationFilter, ComponentDependencyGraphAssemblyFilter, ContainerDependencyGraphFilter, OperationDependencyGraphAllocationFilter, OperationDependencyGraphAssemblyFilter

public abstract class AbstractDependencyGraphFilter<T extends ISystemModelElement>
extends AbstractGraphProducingFilter<AbstractDependencyGraph<T>>

Refactored copy from LogAnalysis-legacy tool.

Since:
1.1
Author:
Andre van Hoorn, Lena Stoever, Matthias Rohr,

Nested Class Summary
 
Nested classes/interfaces inherited from interface kieker.analysis.plugin.IPlugin
IPlugin.PluginInputPortReference, IPlugin.STATE
 
Field Summary
 
Fields inherited from class kieker.tools.traceAnalysis.filter.AbstractMessageTraceProcessingFilter
INPUT_PORT_NAME_MESSAGE_TRACES
 
Fields inherited from class kieker.tools.traceAnalysis.filter.AbstractTraceAnalysisFilter
CONFIG_PROPERTY_VALUE_VERBOSE, LOG, REPOSITORY_PORT_NAME_SYSTEM_MODEL
 
Fields inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent
CONFIG_NAME, configuration, log, projectContext, recordsTimeUnitFromProjectContext
 
Fields inherited from interface kieker.tools.traceAnalysis.filter.IGraphOutputtingFilter
OUTPUT_PORT_NAME_GRAPH
 
Constructor Summary
AbstractDependencyGraphFilter(Configuration configuration, IProjectContext projectContext, AbstractDependencyGraph<T> graph)
          Creates a new abstract dependency graph filter using the given data.
 
Method Summary
 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.
 
Methods inherited from class kieker.tools.traceAnalysis.filter.AbstractGraphProducingFilter
getConfigurationName, getGraph, getGraphOutputPortName, getOriginRetentionPolicy, handleOrigin, requestOriginRetentionPolicy, terminate
 
Methods inherited from class kieker.tools.traceAnalysis.filter.AbstractMessageTraceProcessingFilter
inputMessageTraces
 
Methods inherited from class kieker.tools.traceAnalysis.filter.AbstractTraceProcessingFilter
getErrorCount, getLastTraceIdError, getLastTraceIdSuccess, getSuccessCount, getTotalCount, printStatusMessage, reportError, reportSuccess
 
Methods inherited from class kieker.tools.traceAnalysis.filter.AbstractTraceAnalysisFilter
createExecutionByEntityNames, createExecutionByEntityNames, createExecutionByEntityNames, createExecutionByEntityNames, getCurrentConfiguration, getSystemEntityFactory, printDebugLogMessage, printErrorLogMessage
 
Methods inherited from class kieker.analysis.plugin.filter.AbstractFilterPlugin
init
 
Methods inherited from class kieker.analysis.plugin.AbstractPlugin
areAllRepositoryPortsConnected, connect, connect, deliver, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getDefaultConfiguration, getIncomingPlugins, getPluginDescription, getPluginName, getRepository, getState, isConnectionAllowed, notifyNewIncomingConnection, notifyNewOutgoingConnection, shutdown, start
 
Methods inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface kieker.analysis.plugin.IPlugin
connect, getAllDisplayNames, getAllInputPortNames, getAllOutputPortNames, getAllRepositoryPortNames, getConnectedPlugins, getCurrentRepositories, getName, getPluginDescription, getPluginName, getState
 

Constructor Detail

AbstractDependencyGraphFilter

public AbstractDependencyGraphFilter(Configuration configuration,
                                     IProjectContext projectContext,
                                     AbstractDependencyGraph<T> graph)
Creates a new abstract dependency graph filter using the given data.

Parameters:
configuration - The configuration to use for this filter.
projectContext - The project context to use for this filter.
graph - The graph to produce / extend
Method Detail

addDecorator

public void addDecorator(AbstractNodeDecorator decorator)
Adds a node decorator to this graph.

Parameters:
decorator - The decorator to add

invokeDecorators

protected void invokeDecorators(AbstractMessage message,
                                DependencyGraphNode<?> sourceNode,
                                DependencyGraphNode<?> targetNode)
This is a helper method to invoke all decorators and send them a message.

Parameters:
message - The message to send the decorators.
sourceNode - The source node.
targetNode - The target node.

isDependencyAssumed

protected boolean isDependencyAssumed(DependencyGraphNode<?> source,
                                      DependencyGraphNode<?> target)
Determines whether the given edge is assumed or not.

Parameters:
source - The source of the edge.
target - The target of the edge.
Returns:
true iff the edge is assumed (which means in fact that either the source or the target or both are assumed).

Kieker 1.12

Copyright 2015 Kieker Project, http://kieker-monitoring.net