Class Option<T>

java.lang.Object
org.keycloak.config.Option<T>

public class Option<T> extends Object
  • Constructor Details

  • Method Details

    • getType

      public Class<T> getType()
    • isHidden

      public boolean isHidden()
    • isBuildTime

      public boolean isBuildTime()
    • getKey

      public String getKey()
    • getCategory

      public OptionCategory getCategory()
    • getDescription

      public String getDescription()
    • getDefaultValue

      public Optional<T> getDefaultValue()
    • getExpectedValues

      public List<String> getExpectedValues()
      If isStrictExpectedValues() 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
    • getDeprecatedMetadata

      public Optional<DeprecatedMetadata> getDeprecatedMetadata()
    • withRuntimeSpecificDefault

      public Option<T> withRuntimeSpecificDefault(T defaultValue)
    • getDefaultValueString

      public static String getDefaultValueString(Object value)