public interface ConfigurationService
| Modifier and Type | Field and Description | 
|---|---|
static String | 
LIST_SEPARATOR  | 
| Modifier and Type | Method and Description | 
|---|---|
Map<String,Serializable> | 
getProperties(String namespace)
Returns the properties with key starting with the given namespace. 
 | 
String | 
getPropertiesAsJson(String namespace)
Returns the json string representing the properties with key starting with the given namespace. 
 | 
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. 
 | 
static final String LIST_SEPARATOR
String getProperty(String key)
key - the property keyString getProperty(String key, String defaultValue)
key - the property keydefaultValue - the default value for this keyMap<String,Serializable> getProperties(String namespace)
namespace - the namespaceboolean isBooleanPropertyTrue(String key)
boolean isBooleanPropertyFalse(String key)
String getPropertiesAsJson(String namespace) throws IOException
namespace - the namespace of the propertiesIOExceptionCopyright © 2019 Nuxeo. All rights reserved.