|
JBoss Log Manager 1.3.2.Final-redhat-1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertyConfigurable
An object which is configurable via object properties.
Method Summary | |
---|---|
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. |
Method Detail |
---|
void setPropertyValueString(String propertyName, String value) throws IllegalArgumentException
propertyName
- the property namevalue
- the property value
IllegalArgumentException
- if the given value is not acceptable for this propertyString getPropertyValueString(String propertyName)
propertyName
- the property name
boolean hasProperty(String propertyName)
propertyName
- the property name to test
true
if the name is configured, false
otherwiseboolean removeProperty(String propertyName)
propertyName
- the property name
true
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
.List<String> getConstructorProperties()
|
JBoss Log Manager 1.3.2.Final-redhat-1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |