public static class Config.SystemPropertiesScope extends Object implements Config.Scope
| Constructor and Description |
|---|
SystemPropertiesScope(String prefix) |
| Modifier and Type | Method and 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) |
Config.Scope |
scope(String... scope) |
public SystemPropertiesScope(String prefix)
public String get(String key)
get in interface Config.Scopepublic String get(String key, String defaultValue)
get in interface Config.Scopepublic String[] getArray(String key)
getArray in interface Config.Scopepublic Integer getInt(String key)
getInt in interface Config.Scopepublic Integer getInt(String key, Integer defaultValue)
getInt in interface Config.Scopepublic Long getLong(String key)
getLong in interface Config.Scopepublic Long getLong(String key, Long defaultValue)
getLong in interface Config.Scopepublic Boolean getBoolean(String key)
getBoolean in interface Config.Scopepublic Boolean getBoolean(String key, Boolean defaultValue)
getBoolean in interface Config.Scopepublic Config.Scope scope(String... scope)
scope in interface Config.ScopeCopyright © 2016 JBoss by Red Hat. All rights reserved.