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.Scope
public String get(String key, String defaultValue)
get
in interface Config.Scope
public String[] getArray(String key)
getArray
in interface Config.Scope
public Integer getInt(String key)
getInt
in interface Config.Scope
public Integer getInt(String key, Integer defaultValue)
getInt
in interface Config.Scope
public Long getLong(String key)
getLong
in interface Config.Scope
public Long getLong(String key, Long defaultValue)
getLong
in interface Config.Scope
public Boolean getBoolean(String key)
getBoolean
in interface Config.Scope
public Boolean getBoolean(String key, Boolean defaultValue)
getBoolean
in interface Config.Scope
public Config.Scope scope(String... scope)
scope
in interface Config.Scope
Copyright © 2018 JBoss by Red Hat. All rights reserved.