Package org.keycloak.component
Class ComponentModelScope
java.lang.Object
org.keycloak.component.ComponentModelScope
- All Implemented Interfaces:
Config.Scope
- Author:
- hmlnarik
-
Constructor Summary
ConstructorsConstructorDescriptionComponentModelScope
(Config.Scope origScope, ComponentModel componentConfig) ComponentModelScope
(Config.Scope origScope, ComponentModel componentConfig, String prefix) -
Method Summary
Modifier and TypeMethodDescriptionString[]
getBoolean
(String key) getBoolean
(String key, Boolean defaultValue) <T> T
getComponentNote
(String key) root()
RootConfig.Scope
for global options.
-
Constructor Details
-
ComponentModelScope
-
ComponentModelScope
-
-
Method Details
-
getComponentId
-
getComponentName
-
getComponentNote
-
getComponentParentId
-
getComponentSubType
-
get
- Specified by:
get
in interfaceConfig.Scope
-
get
- Specified by:
get
in interfaceConfig.Scope
-
getArray
- Specified by:
getArray
in interfaceConfig.Scope
-
getInt
- Specified by:
getInt
in interfaceConfig.Scope
-
getInt
- Specified by:
getInt
in interfaceConfig.Scope
-
getLong
- Specified by:
getLong
in interfaceConfig.Scope
-
getLong
- Specified by:
getLong
in interfaceConfig.Scope
-
getBoolean
- Specified by:
getBoolean
in interfaceConfig.Scope
-
getBoolean
- Specified by:
getBoolean
in interfaceConfig.Scope
-
scope
- Specified by:
scope
in interfaceConfig.Scope
-
getPropertyNames
- Specified by:
getPropertyNames
in interfaceConfig.Scope
-
getComponentModel
-
root
Description copied from interface:Config.Scope
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.- Specified by:
root
in interfaceConfig.Scope
- Returns:
- a
Config.Scope
with access to global configuration properties.
-