Class AbstractNodeDecorator

java.lang.Object
kieker.visualization.trace.dependency.graph.AbstractNodeDecorator
Direct Known Subclasses:
ResponseTimeColorNodeDecorator, ResponseTimeNodeDecorator

public abstract class AbstractNodeDecorator
extends java.lang.Object
Abstract superclass for all node decorators.
Since:
1.5
Author:
Holger Knoche
  • Constructor Summary

    Constructors 
    Constructor Description
    AbstractNodeDecorator()  
  • Method Summary

    Modifier and Type Method Description
    static AbstractNodeDecorator createFromName​(java.lang.String optionName)
    Creates a node decorator from its option name.
    abstract void processMessage​(AbstractMessage message, DependencyGraphNode<?> sourceNode, DependencyGraphNode<?> targetNode, java.util.concurrent.TimeUnit timeunit)
    Processes a message sent from the given source to the given target node.

    Methods inherited from class java.lang.Object

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

  • Method Details

    • createFromName

      public static AbstractNodeDecorator createFromName​(java.lang.String optionName)
      Creates a node decorator from its option name.
      Parameters:
      optionName - The option name to create a decorator for
      Returns:
      An appropriate node decorator or null if none can be determined
    • processMessage

      public abstract void processMessage​(AbstractMessage message, DependencyGraphNode<?> sourceNode, DependencyGraphNode<?> targetNode, java.util.concurrent.TimeUnit timeunit)
      Processes a message sent from the given source to the given target node.
      Parameters:
      message - The sent message
      sourceNode - The source node sending the message
      targetNode - The target node receiving the message
      timeunit - The time unit which determines how to interpret times.