|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertyContainer
A container for Property
items. This is only needed for Plugin
configuration migration, see Migrator
.
Method Summary | |
---|---|
boolean |
addProperty(java.lang.String key,
java.lang.String type,
java.lang.String value)
Add a new property. |
void |
clear()
clear all existing properties. |
Property |
getProperty(java.lang.String key)
Searches for the property with the matching key. |
boolean |
remove(Property property)
remove a property |
int |
size()
|
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Method Detail |
---|
boolean addProperty(java.lang.String key, java.lang.String type, java.lang.String value)
key
- the unique key for this propertytype
- a property type, see Property
for constants.value
- a value which is compatible with the set type
Property getProperty(java.lang.String key)
key
- the key to search for
boolean remove(Property property)
property
- the property to remove
void clear()
int size()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |