Record Class RouteTopologyDumper.TopologyEdge
java.lang.Object
java.lang.Record
org.apache.camel.spi.RouteTopologyDumper.TopologyEdge
- Record Components:
fromRouteId- the source route id (the route that sends to the endpoint)toRouteId- the target route id (the route that consumes from the endpoint)endpoint- the shared endpoint URI (scheme:context-path, query parameters stripped)connectionType- the type of connection: "internal" for direct/seda, "external" for remote components
- Enclosing interface:
RouteTopologyDumper
-
Constructor Summary
ConstructorsConstructorDescriptionTopologyEdge(String fromRouteId, String toRouteId, String endpoint, String connectionType) Creates an instance of aTopologyEdgerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconnectionTyperecord component.endpoint()Returns the value of theendpointrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefromRouteIdrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thetoRouteIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TopologyEdge
Creates an instance of aTopologyEdgerecord class.- Parameters:
fromRouteId- the value for thefromRouteIdrecord componenttoRouteId- the value for thetoRouteIdrecord componentendpoint- the value for theendpointrecord componentconnectionType- the value for theconnectionTyperecord 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). -
fromRouteId
Returns the value of thefromRouteIdrecord component.- Returns:
- the value of the
fromRouteIdrecord component
-
toRouteId
-
endpoint
-
connectionType
Returns the value of theconnectionTyperecord component.- Returns:
- the value of the
connectionTyperecord component
-