public class AccessConfiguration extends Object
Modifier and Type | Method and Description |
---|---|
Boolean |
getBooleanProperty(String name)
Get a Boolean property of access configuration.
|
Boolean |
getBooleanProperty(String name,
Boolean def)
Get a boolean property of access configuration.
|
static AccessConfiguration |
getInstance() |
Integer |
getIntProperty(String name)
Get an int of access configuration.
|
Integer |
getIntProperty(String name,
Integer def)
Get an int property of access configuration.
|
String |
getStringProperty(String name,
String def)
Get a String property of access configuration.
|
public static AccessConfiguration getInstance()
public Integer getIntProperty(String name, Integer def)
name
- name of the system/config propertydef
- default value to return if the property is not setpublic Integer getIntProperty(String name)
name
- name of the system/config propertypublic Boolean getBooleanProperty(String name, Boolean def)
name
- name of the system/config propertydef
- default value to return if the property is not setpublic Boolean getBooleanProperty(String name)
name
- name of the system/config propertyCopyright © 2005–2019 Apache Software Foundation. All rights reserved.