Record Class RouteTopologyDumper.TopologyResult
java.lang.Object
java.lang.Record
org.apache.camel.spi.RouteTopologyDumper.TopologyResult
- Record Components:
nodes- the route nodesedges- the connections between routesexternalEndpoints- the external endpoints (remote systems) that routes communicate with (may be empty)
- Enclosing interface:
RouteTopologyDumper
public static record RouteTopologyDumper.TopologyResult(List<RouteTopologyDumper.TopologyNode> nodes, List<RouteTopologyDumper.TopologyEdge> edges, List<RouteTopologyDumper.TopologyExternalEndpoint> externalEndpoints)
extends Record
The result of computing route topology.
- Since:
- 4.21
-
Constructor Summary
ConstructorsConstructorDescriptionTopologyResult(List<RouteTopologyDumper.TopologyNode> nodes, List<RouteTopologyDumper.TopologyEdge> edges, List<RouteTopologyDumper.TopologyExternalEndpoint> externalEndpoints) Creates an instance of aTopologyResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionedges()Returns the value of theedgesrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexternalEndpointsrecord component.final inthashCode()Returns a hash code value for this object.nodes()Returns the value of thenodesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TopologyResult
public TopologyResult(List<RouteTopologyDumper.TopologyNode> nodes, List<RouteTopologyDumper.TopologyEdge> edges, List<RouteTopologyDumper.TopologyExternalEndpoint> externalEndpoints) Creates an instance of aTopologyResultrecord class.- Parameters:
nodes- the value for thenodesrecord componentedges- the value for theedgesrecord componentexternalEndpoints- the value for theexternalEndpointsrecord 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). -
nodes
-
edges
-
externalEndpoints
Returns the value of theexternalEndpointsrecord component.- Returns:
- the value of the
externalEndpointsrecord component
-