Package io.dialob.boot.settings
Record Class ReviewApplicationSettings
java.lang.Object
java.lang.Record
io.dialob.boot.settings.ReviewApplicationSettings
-
Constructor Summary
ConstructorsConstructorDescriptionReviewApplicationSettings(String apiUrl, @NotNull String contextPath, Map<String, SettingsPageAttributes> tenants) Creates an instance of aReviewApplicationSettingsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionapiUrl()Returns the value of theapiUrlrecord component.@NotNull StringReturns the value of thecontextPathrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.tenants()Returns the value of thetenantsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ReviewApplicationSettings
public ReviewApplicationSettings(String apiUrl, @NotNull @NotNull String contextPath, Map<String, SettingsPageAttributes> tenants) Creates an instance of aReviewApplicationSettingsrecord class.- Parameters:
apiUrl- the value for theapiUrlrecord componentcontextPath- the value for thecontextPathrecord componenttenants- the value for thetenantsrecord 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). -
apiUrl
Returns the value of theapiUrlrecord component.- Returns:
- the value of the
apiUrlrecord component
-
contextPath
Returns the value of thecontextPathrecord component.- Returns:
- the value of the
contextPathrecord component
-
tenants
Returns the value of thetenantsrecord component.- Returns:
- the value of the
tenantsrecord component
-