Package io.dialob.boot.settings
Record Class ComposerApplicationSettings
java.lang.Object
java.lang.Record
io.dialob.boot.settings.ComposerApplicationSettings
@ConfigurationProperties("composer")
@Validated
public record ComposerApplicationSettings(String backendApiUrl, String documentationUrl, String fillingAppUrl, String subApplicationName, String url, @NotNull String contextPath, String adminAppUrl, Map<String,SettingsPageAttributes> tenants)
extends Record
Configuration properties for the Composer application.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadminAppUrlrecord component.Returns the value of thebackendApiUrlrecord component.@NotNull StringReturns the value of thecontextPathrecord component.Returns the value of thedocumentationUrlrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefillingAppUrlrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thesubApplicationNamerecord component.tenants()Returns the value of thetenantsrecord component.final StringtoString()Returns a string representation of this record class.url()Returns the value of theurlrecord component.
-
Constructor Details
-
ComposerApplicationSettings
public ComposerApplicationSettings(String backendApiUrl, String documentationUrl, String fillingAppUrl, String subApplicationName, String url, @NotNull @NotNull String contextPath, String adminAppUrl, Map<String, SettingsPageAttributes> tenants) Constructor for ComposerApplicationSettings. Ensures contextPath is not null and initializes tenants map if null.
-
-
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). -
backendApiUrl
Returns the value of thebackendApiUrlrecord component.- Returns:
- the value of the
backendApiUrlrecord component
-
documentationUrl
Returns the value of thedocumentationUrlrecord component.- Returns:
- the value of the
documentationUrlrecord component
-
fillingAppUrl
Returns the value of thefillingAppUrlrecord component.- Returns:
- the value of the
fillingAppUrlrecord component
-
subApplicationName
Returns the value of thesubApplicationNamerecord component.- Returns:
- the value of the
subApplicationNamerecord component
-
url
Returns the value of theurlrecord component.- Returns:
- the value of the
urlrecord component
-
contextPath
Returns the value of thecontextPathrecord component.- Returns:
- the value of the
contextPathrecord component
-
adminAppUrl
Returns the value of theadminAppUrlrecord component.- Returns:
- the value of the
adminAppUrlrecord component
-
tenants
Returns the value of thetenantsrecord component.- Returns:
- the value of the
tenantsrecord component
-