Class AbstractDependencyGraphFilter<T extends kieker.model.system.model.ISystemModelElement>

java.lang.Object
teetime.framework.AbstractStage
teetime.framework.AbstractConsumerStage<T>
kieker.analysis.architecture.trace.AbstractTraceAnalysisStage<T>
kieker.analysis.architecture.trace.AbstractTraceProcessingStage<kieker.model.system.model.MessageTrace>
kieker.analysis.plugin.trace.AbstractMessageTraceProcessingFilter
kieker.visualization.trace.AbstractGraphProducingFilter<AbstractDependencyGraph<T>>
kieker.visualization.trace.dependency.graph.AbstractDependencyGraphFilter<T>
Type Parameters:
T - subtype of a ISystemModelElement
All Implemented Interfaces:
IGraphProducingFilter<AbstractDependencyGraph<T>>
Direct Known Subclasses:
ComponentDependencyGraphAllocationFilter, ComponentDependencyGraphAssemblyFilter, ContainerDependencyGraphFilter, OperationDependencyGraphAllocationFilter, OperationDependencyGraphAssemblyFilter

public abstract class AbstractDependencyGraphFilter<T extends kieker.model.system.model.ISystemModelElement>
extends AbstractGraphProducingFilter<AbstractDependencyGraph<T>>
Refactored copy from LogAnalysis-legacy tool.
Since:
1.1
  • Field Summary

    Fields inherited from class teetime.framework.AbstractConsumerStage

    inputPort

    Fields inherited from class teetime.framework.AbstractStage

    logger
  • Constructor Summary

    Constructors 
    Constructor Description
    AbstractDependencyGraphFilter​(kieker.model.repository.SystemModelRepository repository, java.util.concurrent.TimeUnit timeUnit, AbstractDependencyGraph<T> graph)
    Creates a new abstract dependency graph filter using the given data.
  • Method Summary

    Modifier and Type Method Description
    void addDecorator​(AbstractNodeDecorator decorator)
    Adds a node decorator to this graph.
    protected void invokeDecorators​(kieker.model.system.model.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.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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AbstractDependencyGraphFilter

      public AbstractDependencyGraphFilter​(kieker.model.repository.SystemModelRepository repository, java.util.concurrent.TimeUnit timeUnit, 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 Details

    • addDecorator

      public void addDecorator​(AbstractNodeDecorator decorator)
      Adds a node decorator to this graph.
      Parameters:
      decorator - The decorator to add
    • invokeDecorators

      protected void invokeDecorators​(kieker.model.system.model.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).