Interface NamedNode

All Superinterfaces:
LineNumberAware

public interface NamedNode extends LineNumberAware
Represents a node in the
invalid reference
routes
which is identified by an id.
  • Method Details

    • getId

      String getId()
      Gets the value of the id property.
    • getNodePrefixId

      String getNodePrefixId()
      Gets the node prefix id.
    • getShortName

      String getShortName()
      Returns a short name for this node which can be useful for ID generation or referring to related resources like images
      Returns:
      defaults to "node" but derived nodes should overload this to provide a unique name
    • getLabel

      String getLabel()
      Returns a label to describe this node such as the expression if some kind of expression node
    • getDescriptionText

      String getDescriptionText()
      Returns the description text or null if there is no description text associated with this node
    • getParent

      NamedNode getParent()
      Returns the parent
    • acceptDebugger

      default boolean acceptDebugger(Exchange exchange)
      Whether this node can accept debugging the current exchange. This allows flexibility for some EIPs that need to compute whether to accept debugging or not
      Parameters:
      exchange - the current exchange
      Returns:
      true to accept debugging this node, or false to skip