Package com.io7m.idstore.server.api
Record Class IdServerBrandingConfiguration
java.lang.Object
java.lang.Record
com.io7m.idstore.server.api.IdServerBrandingConfiguration
- Record Components:
productTitle- The product titlelogo- The path to a logo imageloginExtra- An XHTML file inserted into the login screenscheme- The color scheme
public record IdServerBrandingConfiguration(Optional<String> productTitle, Optional<Path> logo, Optional<Path> loginExtra, Optional<IdServerColorScheme> scheme)
extends Record
Branding information for the server.
-
Constructor Summary
ConstructorsConstructorDescriptionIdServerBrandingConfiguration(Optional<String> productTitle, Optional<Path> logo, Optional<Path> loginExtra, Optional<IdServerColorScheme> scheme) Branding information for the server. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theloginExtrarecord component.logo()Returns the value of thelogorecord component.Returns the value of theproductTitlerecord component.scheme()Returns the value of theschemerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
IdServerBrandingConfiguration
public IdServerBrandingConfiguration(Optional<String> productTitle, Optional<Path> logo, Optional<Path> loginExtra, Optional<IdServerColorScheme> scheme) Branding information for the server.- Parameters:
productTitle- The product titlelogo- The path to a logo imageloginExtra- An XHTML file inserted into the login screenscheme- The color scheme
-
-
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). -
productTitle
Returns the value of theproductTitlerecord component.- Returns:
- the value of the
productTitlerecord component
-
logo
Returns the value of thelogorecord component.- Returns:
- the value of the
logorecord component
-
loginExtra
Returns the value of theloginExtrarecord component.- Returns:
- the value of the
loginExtrarecord component
-
scheme
Returns the value of theschemerecord component.- Returns:
- the value of the
schemerecord component
-