Package ch.rswk.meta.client
Record Class Client.ClientConfig
java.lang.Object
java.lang.Record
ch.rswk.meta.client.Client.ClientConfig
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionClientConfig
(String engine) Creates an instance of aClientConfig
record class. -
Method Summary
Modifier and TypeMethodDescriptionengine()
Returns the value of theengine
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
engine
The field for theengine
record component.
-
-
Constructor Details
-
ClientConfig
Creates an instance of aClientConfig
record class.- Parameters:
engine
- the value for theengine
record 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)
. -
engine
Returns the value of theengine
record component.- Returns:
- the value of the
engine
record component
-