Record Class RouteTopologyDumper.TopologyNode
java.lang.Object
java.lang.Record
org.apache.camel.spi.RouteTopologyDumper.TopologyNode
- Record Components:
routeId- the route iddescription- the route description (may be null)from- the input endpoint URI (scheme:context-path, query parameters stripped)fromScheme- the component scheme of the input endpointnodeType- the type of node: "route" for regular routes, "trigger" for timer/quartz/cron/scheduler
- Enclosing interface:
RouteTopologyDumper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.from()Returns the value of thefromrecord component.Returns the value of thefromSchemerecord component.final inthashCode()Returns a hash code value for this object.nodeType()Returns the value of thenodeTyperecord component.routeId()Returns the value of therouteIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TopologyNode
public TopologyNode(String routeId, String description, String from, String fromScheme, String nodeType) Creates an instance of aTopologyNoderecord class.- Parameters:
routeId- the value for therouteIdrecord componentdescription- the value for thedescriptionrecord componentfrom- the value for thefromrecord componentfromScheme- the value for thefromSchemerecord componentnodeType- the value for thenodeTyperecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
routeId
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
from
-
fromScheme
Returns the value of thefromSchemerecord component.- Returns:
- the value of the
fromSchemerecord component
-
nodeType
-