Record Class AdminApplicationSettings

java.lang.Object
java.lang.Record
io.dialob.boot.settings.AdminApplicationSettings
Record Components:
apiUrl - the URL of the API
fillingAppUrl - the URL of the filling application
reviewAppUrl - the URL of the review application
composerAppUrl - the URL of the composer application
documentation - the documentation URL
contextPath - the context path, must not be null
versioning - flag indicating if form versioning is enabled
tenants - 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 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 a AdminApplicationSettings record class.
      Parameters:
      apiUrl - the value for the apiUrl record component
      fillingAppUrl - the value for the fillingAppUrl record component
      reviewAppUrl - the value for the reviewAppUrl record component
      composerAppUrl - the value for the composerAppUrl record component
      documentation - the value for the documentation record component
      contextPath - the value for the contextPath record component
      versioning - the value for the versioning record component
      tenants - the value for the tenants record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • apiUrl

      public String apiUrl()
      Returns the value of the apiUrl record component.
      Returns:
      the value of the apiUrl record component
    • fillingAppUrl

      public String fillingAppUrl()
      Returns the value of the fillingAppUrl record component.
      Returns:
      the value of the fillingAppUrl record component
    • reviewAppUrl

      public String reviewAppUrl()
      Returns the value of the reviewAppUrl record component.
      Returns:
      the value of the reviewAppUrl record component
    • composerAppUrl

      public String composerAppUrl()
      Returns the value of the composerAppUrl record component.
      Returns:
      the value of the composerAppUrl record component
    • documentation

      public String documentation()
      Returns the value of the documentation record component.
      Returns:
      the value of the documentation record component
    • contextPath

      @NotNull public @NotNull String contextPath()
      Returns the value of the contextPath record component.
      Returns:
      the value of the contextPath record component
    • versioning

      public boolean versioning()
      Returns the value of the versioning record component.
      Returns:
      the value of the versioning record component
    • tenants

      public Map<String,SettingsPageAttributes> tenants()
      Returns the value of the tenants record component.
      Returns:
      the value of the tenants record component