Record Class Configuration
java.lang.Object
java.lang.Record
de.wuespace.telestion.application.Configuration
The base application configuration object.
-
Constructor Summary
ConstructorsConstructorDescriptionConfiguration(String app_name, List<VerticleConfig> verticles)
Creates an instance of aConfiguration
record class. -
Method Summary
Modifier and TypeMethodDescriptionapp_name()
Returns the value of theapp_name
record component.boolean
Indicates whether some other object is "equal to" this one.int
hashCode()
Returns a hash code value for this object.toString()
Returns a string representation of this record class.Returns the value of theverticles
record component.
-
Constructor Details
-
Configuration
Creates an instance of aConfiguration
record class.- Parameters:
app_name
- the value for theapp_name
record componentverticles
- the value for theverticles
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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)
. -
app_name
Returns the value of theapp_name
record component.- Returns:
- the value of the
app_name
record component
-
verticles
Returns the value of theverticles
record component.- Returns:
- the value of the
verticles
record component
-