|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertySet
Represents a set of properties on a TaskPlan definition. A property set can contain zero or more Property instances. In addition, a property set defines a locking facility that allows task instances at runtime to lock and unlock the set. Locked property sets do not allow updates to their properties values.
Method Summary | |
---|---|
Property |
addProperty(String name)
Add a new property to this property set. |
boolean |
getInitialLockState()
Get the initial locked/unlocked state for this property set. |
Property |
getProperty(String name)
Get a property with the given name. |
String[] |
getPropertyNames()
Get an array of names for the properties defined in this property set. |
void |
removeProperty(String name)
Remove the property with the given name from this property set. |
void |
renameProperty(String oldName,
String newName)
Rename the property with the given name with the given new name. |
void |
setInitialLockState(boolean locked)
Set the initiall locked/unlocked state for this property set. |
Method Detail |
---|
boolean getInitialLockState()
void setInitialLockState(boolean locked)
locked
- If true, this property set will be in the locked state
upon creation at runtime, otherwise it will be unlocked.String[] getPropertyNames()
Property getProperty(String name) throws UnknownObjectException
name
- Name of the property to retrieve
UnknownObjectException
- If no property with the given name can
be found in this property set.Property addProperty(String name)
name
- Name of the new property.
void removeProperty(String name)
name
- The name of the property to remove.void renameProperty(String oldName, String newName) throws UnknownObjectException
oldName
- The current name of the property to be renamed.newName
- The new name to give to the property.
UnknownObjectException
- If no property with the given old name
can be found in this property set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |