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 aClientConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionengine()Returns the value of theenginerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
engine
The field for theenginerecord component.
-
-
Constructor Details
-
ClientConfig
Creates an instance of aClientConfigrecord class.- Parameters:
engine- the value for theenginerecord 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 theenginerecord component.- Returns:
- the value of the
enginerecord component
-