Package org.keycloak
Class Config.SystemPropertiesScope
- java.lang.Object
-
- org.keycloak.Config.SystemPropertiesScope
-
- All Implemented Interfaces:
Config.Scope
- Enclosing class:
- Config
public static class Config.SystemPropertiesScope extends Object implements Config.Scope
-
-
Constructor Summary
Constructors Constructor Description SystemPropertiesScope(String prefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
get(String key)
String
get(String key, String defaultValue)
String[]
getArray(String key)
Boolean
getBoolean(String key)
Boolean
getBoolean(String key, Boolean defaultValue)
Integer
getInt(String key)
Integer
getInt(String key, Integer defaultValue)
Long
getLong(String key)
Long
getLong(String key, Long defaultValue)
Set<String>
getPropertyNames()
Config.Scope
scope(String... scope)
-
-
-
Field Detail
-
prefix
protected String prefix
-
-
Constructor Detail
-
SystemPropertiesScope
public SystemPropertiesScope(String prefix)
-
-
Method Detail
-
get
public String get(String key)
- Specified by:
get
in interfaceConfig.Scope
-
get
public String get(String key, String defaultValue)
- Specified by:
get
in interfaceConfig.Scope
-
getArray
public String[] getArray(String key)
- Specified by:
getArray
in interfaceConfig.Scope
-
getInt
public Integer getInt(String key)
- Specified by:
getInt
in interfaceConfig.Scope
-
getInt
public Integer getInt(String key, Integer defaultValue)
- Specified by:
getInt
in interfaceConfig.Scope
-
getLong
public Long getLong(String key)
- Specified by:
getLong
in interfaceConfig.Scope
-
getLong
public Long getLong(String key, Long defaultValue)
- Specified by:
getLong
in interfaceConfig.Scope
-
getBoolean
public Boolean getBoolean(String key)
- Specified by:
getBoolean
in interfaceConfig.Scope
-
getBoolean
public Boolean getBoolean(String key, Boolean defaultValue)
- Specified by:
getBoolean
in interfaceConfig.Scope
-
scope
public Config.Scope scope(String... scope)
- Specified by:
scope
in interfaceConfig.Scope
-
getPropertyNames
public Set<String> getPropertyNames()
- Specified by:
getPropertyNames
in interfaceConfig.Scope
-
-