Package org.keycloak
Interface Config.Scope
- All Known Implementing Classes:
ComponentModelScope
,Config.SystemPropertiesScope
- Enclosing class:
- Config
public static interface Config.Scope
- Author:
- Stian Thorgersen
-
Method Summary
Modifier and TypeMethodDescriptionString[]
getBoolean
(String key) getBoolean
(String key, Boolean defaultValue) Deprecated.root()
RootConfig.Scope
for global options.
-
Method Details
-
get
-
get
-
getArray
-
getInt
-
getInt
-
getLong
-
getLong
-
getBoolean
-
getBoolean
-
scope
-
getPropertyNames
Deprecated.since 26.3.0, to be removed
Was introduced for testing purposes and was not fully / correctly implements across Scope implementations -
root
Config.Scope root()RootConfig.Scope
for global options. The key format should match exactly what is expected to appear in the main configuration file - e.g. metrics-enabled, db, etc.- Returns:
- a
Config.Scope
with access to global configuration properties.
-
Was introduced for testing purposes and was not fully / correctly implements across Scope implementations