public interface ResourceDescriptor extends UserAttributeContainer, PluginDataContainer
Additional information may be required, depending on the context in which the code descriptor is used. This information can be stored in the user attributes.
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Returns a description text of the resource (may be null).
|
java.util.UUID |
getID()
Returns the repository-wide unique ID of the resource.
|
java.lang.String |
getName()
The arbitrary name of the resource.
|
long |
getRevision()
Gets the (base) revision of this resource which allows to track changes.
|
State |
getState()
Gets the current deployment state of this resource descriptor, that is whether
it is currently modified, it can be used or it may not be used any more.
|
getUserAttributes, getUserAttributeValue, removeUserAttributeValue, setUserAttributeValuegetPluginData, getPluginDatas, getSupportedPluginsjava.util.UUID getID()
java.lang.String getName()
java.lang.String getDescription()
null.long getRevision()
state is set to
IN_DEVELOPMENT but the revision remains until the branch
is released.State getState()