Class Configuration

java.lang.Object
org.keycloak.quarkus.runtime.configuration.Configuration

public final class Configuration extends Object
The entry point for accessing the server configuration
  • Field Details

    • OPTION_PART_SEPARATOR_CHAR

      public static final char OPTION_PART_SEPARATOR_CHAR
      See Also:
    • OPTION_PART_SEPARATOR

      public static final String OPTION_PART_SEPARATOR
  • Method Details

    • isTrue

      public static boolean isTrue(Option<Boolean> option)
    • isTrue

      public static boolean isTrue(String propertyName)
    • isBlank

      public static boolean isBlank(Option<?> option)
    • contains

      public static boolean contains(Option<?> option, String value)
    • equals

      public static boolean equals(Option<?> option, String value)
    • getConfig

      public static io.smallrye.config.SmallRyeConfig getConfig()
    • getBuildTimeProperty

      public static Optional<String> getBuildTimeProperty(String name)
    • getRawPersistedProperty

      public static Optional<String> getRawPersistedProperty(String name)
    • getRawPersistedProperties

      public static Map<String,String> getRawPersistedProperties()
    • getRawValue

      public static String getRawValue(String propertyName)
    • getPropertyNames

      public static Iterable<String> getPropertyNames()
    • getPropertyNames

      public static Iterable<String> getPropertyNames(boolean onlyPersisted)
    • getConfigValue

      public static io.smallrye.config.ConfigValue getConfigValue(String propertyName)
    • getKcConfigValue

      public static io.smallrye.config.ConfigValue getKcConfigValue(String propertyName)
    • getOptionalValue

      public static Optional<String> getOptionalValue(String name)
    • getOptionalKcValue

      public static Optional<String> getOptionalKcValue(String propertyName)
    • getOptionalKcValue

      public static Optional<String> getOptionalKcValue(Option<?> option)
    • getOptionalBooleanKcValue

      public static Optional<Boolean> getOptionalBooleanKcValue(String propertyName)
    • getOptionalBooleanValue

      public static Optional<Boolean> getOptionalBooleanValue(String name)
    • getMappedPropertyName

      public static String getMappedPropertyName(String key)
    • getRuntimeProperty

      public static Optional<String> getRuntimeProperty(String name)
    • toEnvVarFormat

      public static String toEnvVarFormat(String key)
    • toCliFormat

      public static String toCliFormat(String key)
    • toDashCase

      public static String toDashCase(String key)
    • replaceNonAlphanumericByUnderscores

      public static String replaceNonAlphanumericByUnderscores(String name)
    • isOptimized

      public static boolean isOptimized()
    • markAsOptimized

      public static void markAsOptimized(Properties properties)
    • getCurrentBuiltTimeProperty

      public static io.smallrye.config.ConfigValue getCurrentBuiltTimeProperty(String name)