Record Class ModelDumpLine
java.lang.Object
java.lang.Record
org.apache.camel.spi.ModelDumpLine
- Record Components:
location- line source scheme:location:line (if present)type- the kind of EIP nodeid- the id of the EIP nodelevel- indent level of the EIP nodecode- EIP code such as label or short name that is human-readable or pseudocodedescription- optional description of the EIP nodeuri- the raw endpoint URI for endpoint-producing EIP nodes (from, to, toD, wireTap, enrich, etc.)remote- whether the endpoint connects to a remote system (true) or is local/in-JVM only (false)
public record ModelDumpLine(@Nullable String location, String type, String id, int level, String code, @Nullable String description, @Nullable String uri, boolean remote)
extends Record
Represents a line in a model dumper of the route structure (not with full details such as XML or YAML dump).
- Since:
- 4.16
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncode()Returns the value of thecoderecord component.@Nullable StringReturns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.intlevel()Returns the value of thelevelrecord component.@Nullable Stringlocation()Returns the value of thelocationrecord component.booleanremote()Returns the value of theremoterecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.@Nullable Stringuri()Returns the value of theurirecord component.
-
Constructor Details
-
ModelDumpLine
public ModelDumpLine(@Nullable String location, String type, String id, int level, String code, @Nullable String description, @Nullable String uri, boolean remote) Creates an instance of aModelDumpLinerecord class.- Parameters:
location- the value for thelocationrecord componenttype- the value for thetyperecord componentid- the value for theidrecord componentlevel- the value for thelevelrecord componentcode- the value for thecoderecord componentdescription- the value for thedescriptionrecord componenturi- the value for theurirecord componentremote- the value for theremoterecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
location
-
type
-
id
-
level
-
code
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
uri
-
remote
-