public interface ExtendedConfiguration extends Configuration
Modifier and Type | Method and Description |
---|---|
boolean |
getBoolProperty(String name)
Returns the boolean value of a given configuration property.
|
boolean |
getBoolProperty(String name,
boolean defaultValue)
Returns the boolean value of a given configuration property.
|
int |
getIntProperty(String name)
Returns a given property as int value.
|
int |
getIntProperty(String name,
int defaultValue)
Returns a given property as int value.
|
boolean |
isPropertySet(String name)
Checks, whether a given property is defined.
|
clone, findPropertyKeys, getConfigProperties, getConfigProperty, getConfigProperty
boolean isPropertySet(String name)
name
- the name of the propertyint getIntProperty(String name)
name
- the name of the propertyint getIntProperty(String name, int defaultValue)
name
- the name of the propertydefaultValue
- the value to be returned if the property is no integer valueboolean getBoolProperty(String name)
name
- the name of the propertyboolean getBoolProperty(String name, boolean defaultValue)
name
- the name of the propertydefaultValue
- the default value to be returned if the property is not setCopyright © 2017 Hitachi Vantara. All rights reserved.