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 aConfigurationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionapp_name()Returns the value of theapp_namerecord component.booleanIndicates whether some other object is "equal to" this one.inthashCode()Returns a hash code value for this object.toString()Returns a string representation of this record class.Returns the value of theverticlesrecord component.
-
Constructor Details
-
Configuration
Creates an instance of aConfigurationrecord class.- Parameters:
app_name- the value for theapp_namerecord componentverticles- the value for theverticlesrecord 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_namerecord component.- Returns:
- the value of the
app_namerecord component
-
verticles
Returns the value of theverticlesrecord component.- Returns:
- the value of the
verticlesrecord component
-