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(String productTitle, Optional<Path> logo, Optional<Path> loginExtra, Optional<IdServerColorScheme> scheme)
extends Record
Branding information for the server.
-
Constructor Summary
ConstructorsConstructorDescriptionIdServerBrandingConfiguration(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(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
-
hashCode
-
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
-
loginExtra
Returns the value of theloginExtrarecord component.- Returns:
- the value of the
loginExtrarecord component
-
scheme
-