Package io.dialob.boot.settings
Record Class QuestionnaireApplicationSettings
java.lang.Object
java.lang.Record
io.dialob.boot.settings.QuestionnaireApplicationSettings
-
Constructor Summary
ConstructorsConstructorDescriptionQuestionnaireApplicationSettings(String socketUrl, String reviewUrl, String restUrl, String connectionMode, String backendApiUrl, @NotNull String contextPath, Map<String, SettingsPageAttributes> tenants) Creates an instance of aQuestionnaireApplicationSettingsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebackendApiUrlrecord component.Returns the value of theconnectionModerecord 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.restUrl()Returns the value of therestUrlrecord component.Returns the value of thereviewUrlrecord component.Returns the value of thesocketUrlrecord component.tenants()Returns the value of thetenantsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
QuestionnaireApplicationSettings
public QuestionnaireApplicationSettings(String socketUrl, String reviewUrl, String restUrl, String connectionMode, String backendApiUrl, @NotNull @NotNull String contextPath, Map<String, SettingsPageAttributes> tenants) Creates an instance of aQuestionnaireApplicationSettingsrecord class.- Parameters:
socketUrl- the value for thesocketUrlrecord componentreviewUrl- the value for thereviewUrlrecord componentrestUrl- the value for therestUrlrecord componentconnectionMode- the value for theconnectionModerecord componentbackendApiUrl- the value for thebackendApiUrlrecord 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). -
socketUrl
Returns the value of thesocketUrlrecord component.- Returns:
- the value of the
socketUrlrecord component
-
reviewUrl
Returns the value of thereviewUrlrecord component.- Returns:
- the value of the
reviewUrlrecord component
-
restUrl
Returns the value of therestUrlrecord component.- Returns:
- the value of the
restUrlrecord component
-
connectionMode
Returns the value of theconnectionModerecord component.- Returns:
- the value of the
connectionModerecord component
-
backendApiUrl
Returns the value of thebackendApiUrlrecord component.- Returns:
- the value of the
backendApiUrlrecord 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
-