public interface SystemPropertyBag extends ConfigBeanProxy
Important: document legal properties using PropertiesDesc, one PropertyDesc for each legal system-property.
Modifier and Type | Interface and Description |
---|---|
static class |
SystemPropertyBag.Duck |
Modifier and Type | Method and Description |
---|---|
boolean |
containsProperty(String name) |
String |
getPropertyValue(String name,
String defaultValue)
Returns a property value if the bean has properties and one of its
properties name is equal to the one passed.
|
List<SystemProperty> |
getSystemProperty()
Gets the list of system-property.
|
SystemProperty |
getSystemProperty(String name) |
String |
getSystemPropertyValue(String name)
Returns a property value if the bean has system properties and one of its
system-property names is equal to the one passed.
|
createChild, deepCopy, getParent, getParent
List<SystemProperty> getSystemProperty()
set
method for the property property.
For example, to add a new item, do as follows:
getSystemProperty().add(newItem);Objects of the following type(s) are allowed in the list
SystemProperty
@DuckTyped SystemProperty getSystemProperty(String name)
@DuckTyped String getSystemPropertyValue(String name)
name
- the system property name requested@DuckTyped String getPropertyValue(String name, String defaultValue)
name
- the property name requesteddefaultValue
- @DuckTyped boolean containsProperty(String name)
Copyright © 2018. All rights reserved.