Class MetadataSettings.UIInfoSettings.LogoSettings.Builder
java.lang.Object
se.swedenconnect.spring.saml.idp.settings.AbstractSettings.AbstractBuilder<MetadataSettings.UIInfoSettings.LogoSettings,MetadataSettings.UIInfoSettings.LogoSettings.Builder>
se.swedenconnect.spring.saml.idp.settings.MetadataSettings.UIInfoSettings.LogoSettings.Builder
- Enclosing class:
MetadataSettings.UIInfoSettings.LogoSettings
public static final class MetadataSettings.UIInfoSettings.LogoSettings.Builder
extends AbstractSettings.AbstractBuilder<MetadataSettings.UIInfoSettings.LogoSettings,MetadataSettings.UIInfoSettings.LogoSettings.Builder>
A builder for
MetadataSettings.UIInfoSettings.LogoSettings
.-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Is invoked byAbstractSettings.AbstractBuilder.build()
to apply default values to those settings that are mandatory and has not been assigned.Is invoked byAbstractSettings.AbstractBuilder.build()
and builds the settings object.Assigns the height of the logo in pixels.languageTag
(String languageTag) Assigns the logo language tag.Assigns the logotype path.Assigns the logotype URL.Assigns the width of the logo in pixels.Methods inherited from class se.swedenconnect.spring.saml.idp.settings.AbstractSettings.AbstractBuilder
build, getSettings, getThis, setting, settings
-
Method Details
-
url
Assigns the logotype URL.- Parameters:
url
- the URL- Returns:
- the builder
-
path
Assigns the logotype path.- Parameters:
path
- the path- Returns:
- the builder
-
height
Assigns the height of the logo in pixels.- Parameters:
height
- the logo height- Returns:
- the builder
-
width
Assigns the width of the logo in pixels.- Parameters:
width
- the logo width- Returns:
- the builder
-
languageTag
Assigns the logo language tag.- Parameters:
languageTag
- the language tag- Returns:
- the builder
-
applyDefaultSettings
protected void applyDefaultSettings()Is invoked byAbstractSettings.AbstractBuilder.build()
to apply default values to those settings that are mandatory and has not been assigned. -
buildObject
Is invoked byAbstractSettings.AbstractBuilder.build()
and builds the settings object.- Specified by:
buildObject
in classAbstractSettings.AbstractBuilder<MetadataSettings.UIInfoSettings.LogoSettings,
MetadataSettings.UIInfoSettings.LogoSettings.Builder> - Returns:
- the settings object
-