Package org.keycloak.component
Class ComponentModelScope
- java.lang.Object
-
- org.keycloak.component.ComponentModelScope
-
- All Implemented Interfaces:
Config.Scope
public class ComponentModelScope extends Object implements Config.Scope
- Author:
- hmlnarik
-
-
Constructor Summary
Constructors Constructor Description ComponentModelScope(Config.Scope origScope, ComponentModel componentConfig)ComponentModelScope(Config.Scope origScope, ComponentModel componentConfig, String prefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringget(String key)Stringget(String key, String defaultValue)String[]getArray(String key)BooleangetBoolean(String key)BooleangetBoolean(String key, Boolean defaultValue)StringgetComponentId()ComponentModelgetComponentModel()StringgetComponentName()<T> TgetComponentNote(String key)StringgetComponentParentId()StringgetComponentSubType()IntegergetInt(String key)IntegergetInt(String key, Integer defaultValue)LonggetLong(String key)LonggetLong(String key, Long defaultValue)Set<String>getPropertyNames()Config.Scopescope(String... scope)
-
-
-
Constructor Detail
-
ComponentModelScope
public ComponentModelScope(Config.Scope origScope, ComponentModel componentConfig)
-
ComponentModelScope
public ComponentModelScope(Config.Scope origScope, ComponentModel componentConfig, String prefix)
-
-
Method Detail
-
getComponentId
public String getComponentId()
-
getComponentName
public String getComponentName()
-
getComponentNote
public <T> T getComponentNote(String key)
-
getComponentParentId
public String getComponentParentId()
-
getComponentSubType
public String getComponentSubType()
-
get
public String get(String key)
- Specified by:
getin interfaceConfig.Scope
-
get
public String get(String key, String defaultValue)
- Specified by:
getin interfaceConfig.Scope
-
getArray
public String[] getArray(String key)
- Specified by:
getArrayin interfaceConfig.Scope
-
getInt
public Integer getInt(String key)
- Specified by:
getIntin interfaceConfig.Scope
-
getInt
public Integer getInt(String key, Integer defaultValue)
- Specified by:
getIntin interfaceConfig.Scope
-
getLong
public Long getLong(String key)
- Specified by:
getLongin interfaceConfig.Scope
-
getLong
public Long getLong(String key, Long defaultValue)
- Specified by:
getLongin interfaceConfig.Scope
-
getBoolean
public Boolean getBoolean(String key)
- Specified by:
getBooleanin interfaceConfig.Scope
-
getBoolean
public Boolean getBoolean(String key, Boolean defaultValue)
- Specified by:
getBooleanin interfaceConfig.Scope
-
scope
public Config.Scope scope(String... scope)
- Specified by:
scopein interfaceConfig.Scope
-
getPropertyNames
public Set<String> getPropertyNames()
- Specified by:
getPropertyNamesin interfaceConfig.Scope
-
getComponentModel
public ComponentModel getComponentModel()
-
-