Class MetadataSettings.UIInfoSettings.Builder
java.lang.Object
se.swedenconnect.spring.saml.idp.settings.AbstractSettings.AbstractBuilder<MetadataSettings.UIInfoSettings,MetadataSettings.UIInfoSettings.Builder>
se.swedenconnect.spring.saml.idp.settings.MetadataSettings.UIInfoSettings.Builder
- Enclosing class:
MetadataSettings.UIInfoSettings
public static final class MetadataSettings.UIInfoSettings.Builder
extends AbstractSettings.AbstractBuilder<MetadataSettings.UIInfoSettings,MetadataSettings.UIInfoSettings.Builder>
A builder for
MetadataSettings.UIInfoSettings.-
Method Summary
Modifier and TypeMethodDescriptionprotected voidIs invoked byAbstractSettings.AbstractBuilder.build()to apply default values to those settings that are mandatory and has not been assigned.protected MetadataSettings.UIInfoSettingsIs invoked byAbstractSettings.AbstractBuilder.build()and builds the settings object.descriptions(Map<String, String> description) Assigns the UIInfo description as a map of strings where the key is the language tag and the value is the description for that language.displayNames(Map<String, String> displayName) Assigns the UIInfo display name as a map of strings where the key is the language tag and the value is the display name for that language.Assigns the UIInfo logotypes.Methods inherited from class se.swedenconnect.spring.saml.idp.settings.AbstractSettings.AbstractBuilder
build, getSettings, getThis, setting, settings
-
Method Details
-
displayNames
Assigns the UIInfo display name as a map of strings where the key is the language tag and the value is the display name for that language.- Parameters:
displayName- the display name- Returns:
- the builder
-
descriptions
Assigns the UIInfo description as a map of strings where the key is the language tag and the value is the description for that language.- Parameters:
description- a map of descriptions- Returns:
- the builder
-
logotypes
public MetadataSettings.UIInfoSettings.Builder logotypes(List<MetadataSettings.UIInfoSettings.LogoSettings> logotypes) Assigns the UIInfo logotypes.- Parameters:
logotypes- the UIInfo logotypes.- 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:
buildObjectin classAbstractSettings.AbstractBuilder<MetadataSettings.UIInfoSettings,MetadataSettings.UIInfoSettings.Builder> - Returns:
- the settings object
-