public interface PropertyConfigurable
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getConstructorProperties()
Returns a collection of the constructor properties.
|
List<String> |
getPropertyNames()
Get the names of the configured properties in order.
|
String |
getPropertyValueString(String propertyName)
Get the string property value with the given name.
|
boolean |
hasConstructorProperty(String propertyName)
Determine whether the given property name is a constructor property.
|
boolean |
hasProperty(String propertyName)
Determine whether the given property name is configured.
|
boolean |
removeProperty(String propertyName)
Remove a configured property.
|
void |
setPropertyValueString(String propertyName,
String value)
Set a property value from a string.
|
void setPropertyValueString(String propertyName, String value) throws IllegalArgumentException
propertyName - the property namevalue - the property valueIllegalArgumentException - if the given value is not acceptable for this propertyString getPropertyValueString(String propertyName)
propertyName - the property nameboolean hasProperty(String propertyName)
propertyName - the property name to testtrue if the name is configured, false otherwiseboolean removeProperty(String propertyName)
propertyName - the property nametrue if the property name was removed, false if it was not presentList<String> getPropertyNames()
boolean hasConstructorProperty(String propertyName)
propertyName - the name of the property to check.true if the property should be used as a construction property, otherwise false.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.