Package io.dialob.boot.settings
Record Class AdminApplicationSettings
java.lang.Object
java.lang.Record
io.dialob.boot.settings.AdminApplicationSettings
- Record Components:
apiUrl- the URL of the APIfillingAppUrl- the URL of the filling applicationreviewAppUrl- the URL of the review applicationcomposerAppUrl- the URL of the composer applicationdocumentation- the documentation URLcontextPath- the context path, must not be nullversioning- flag indicating if form versioning is enabledtenants- a map of tenant settings
@Configuration(proxyBeanMethods=false)
@ConfigurationProperties("admin")
public record AdminApplicationSettings(String apiUrl, String fillingAppUrl, String reviewAppUrl, String composerAppUrl, String documentation, @NotNull String contextPath, boolean versioning, Map<String,SettingsPageAttributes> tenants)
extends Record
Represents the settings for the Admin application.
-
Constructor Summary
ConstructorsConstructorDescriptionAdminApplicationSettings(String apiUrl, String fillingAppUrl, String reviewAppUrl, String composerAppUrl, String documentation, @NotNull String contextPath, boolean versioning, Map<String, SettingsPageAttributes> tenants) Creates an instance of aAdminApplicationSettingsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionapiUrl()Returns the value of theapiUrlrecord component.Returns the value of thecomposerAppUrlrecord component.@NotNull StringReturns the value of thecontextPathrecord component.Returns the value of thedocumentationrecord 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 thereviewAppUrlrecord component.tenants()Returns the value of thetenantsrecord component.final StringtoString()Returns a string representation of this record class.booleanReturns the value of theversioningrecord component.
-
Constructor Details
-
AdminApplicationSettings
public AdminApplicationSettings(String apiUrl, String fillingAppUrl, String reviewAppUrl, String composerAppUrl, String documentation, @NotNull @NotNull String contextPath, boolean versioning, Map<String, SettingsPageAttributes> tenants) Creates an instance of aAdminApplicationSettingsrecord class.- Parameters:
apiUrl- the value for theapiUrlrecord componentfillingAppUrl- the value for thefillingAppUrlrecord componentreviewAppUrl- the value for thereviewAppUrlrecord componentcomposerAppUrl- the value for thecomposerAppUrlrecord componentdocumentation- the value for thedocumentationrecord componentcontextPath- the value for thecontextPathrecord componentversioning- the value for theversioningrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
apiUrl
Returns the value of theapiUrlrecord component.- Returns:
- the value of the
apiUrlrecord component
-
fillingAppUrl
Returns the value of thefillingAppUrlrecord component.- Returns:
- the value of the
fillingAppUrlrecord component
-
reviewAppUrl
Returns the value of thereviewAppUrlrecord component.- Returns:
- the value of the
reviewAppUrlrecord component
-
composerAppUrl
Returns the value of thecomposerAppUrlrecord component.- Returns:
- the value of the
composerAppUrlrecord component
-
documentation
Returns the value of thedocumentationrecord component.- Returns:
- the value of the
documentationrecord component
-
contextPath
Returns the value of thecontextPathrecord component.- Returns:
- the value of the
contextPathrecord component
-
versioning
public boolean versioning()Returns the value of theversioningrecord component.- Returns:
- the value of the
versioningrecord component
-
tenants
Returns the value of thetenantsrecord component.- Returns:
- the value of the
tenantsrecord component
-