Package org.apache.camel
Interface NamedNode
- All Superinterfaces:
LineNumberAware
Represents a node in the
which is identified by an id.
invalid reference
routes
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
acceptDebugger
(Exchange exchange) Whether this node can accept debugging the current exchange.Returns the description text or null if there is no description text associated with this nodegetId()
Gets the value of the id property.getLabel()
Returns a label to describe this node such as the expression if some kind of expression nodeGets the node prefix id.Returns the parentReturns a short name for this node which can be useful for ID generation or referring to related resources like imagesMethods inherited from interface org.apache.camel.LineNumberAware
getLineNumber, getLocation, setLineNumber, setLocation
-
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
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
-