public interface ConfigurationService
Modifier and Type | Method and Description |
---|---|
String |
getProperty(String key)
Returns the given property value if any, otherwise null.
|
String |
getProperty(String key,
String defaultValue)
Returns the given property value if any, otherwise returns the given default value.
|
boolean |
isBooleanPropertyFalse(String key)
Returns true if given property is false when compared to a boolean value.
|
boolean |
isBooleanPropertyTrue(String key)
Returns true if given property is true when compared to a boolean value.
|
String getProperty(String key)
key
- the property keyString getProperty(String key, String defaultValue)
key
- the property keydefaultValue
- the default value for this keyboolean isBooleanPropertyTrue(String key)
boolean isBooleanPropertyFalse(String key)
Copyright © 2015 Nuxeo SA. All rights reserved.