Package org.keycloak.config
Class Option<T>
java.lang.Object
org.keycloak.config.Option<T>
- 
Constructor Summary
ConstructorsConstructorDescriptionOption(Class<T> type, String key, OptionCategory category, boolean hidden, boolean buildTime, String description, Optional<T> defaultValue, List<String> expectedValues, boolean strictExpectedValues, boolean caseInsensitiveExpectedValues, DeprecatedMetadata deprecatedMetadata)  - 
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetDefaultValueString(Object value) IfisStrictExpectedValues()is false, custom values can be provided Otherwise, only specified expected values can be usedgetKey()getType()booleanbooleanbooleanisHidden()booleanDenotes whether a custom value can be provided among the expected values If strict, application fails when some custom value is providedwithRuntimeSpecificDefault(T defaultValue)  
- 
Constructor Details
- 
Option
public Option(Class<T> type, String key, OptionCategory category, boolean hidden, boolean buildTime, String description, Optional<T> defaultValue, List<String> expectedValues, boolean strictExpectedValues, boolean caseInsensitiveExpectedValues, DeprecatedMetadata deprecatedMetadata)  
 - 
 - 
Method Details
- 
getType
 - 
isHidden
public boolean isHidden() - 
isBuildTime
public boolean isBuildTime() - 
getKey
 - 
getCategory
 - 
getDescription
 - 
getDefaultValue
 - 
getExpectedValues
IfisStrictExpectedValues()is false, custom values can be provided Otherwise, only specified expected values can be used- Returns:
 - expected values
 
 - 
isStrictExpectedValues
public boolean isStrictExpectedValues()Denotes whether a custom value can be provided among the expected values If strict, application fails when some custom value is provided - 
isCaseInsensitiveExpectedValues
public boolean isCaseInsensitiveExpectedValues() - 
getDeprecatedMetadata
 - 
withRuntimeSpecificDefault
 - 
getDefaultValueString
 
 -