|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.TypedResource
com.starteam.LiveObject
com.starteam.TrackedObject
com.starteam.VersionedObject
com.starteam.ViewMember
com.starteam.Item
com.starteam.TreeItem
com.starteam.Requirement
public class Requirement
Represents a StarTeam Requirement item.
| Nested Class Summary | |
|---|---|
static class |
Requirement.Priority
Priority of the Requirement |
static class |
Requirement.RequirementType
Type of the Requirement |
static class |
Requirement.Status
Status of the Requirement |
static class |
Requirement.StreamState
The Info Stream State of the Requirement |
static class |
Requirement.Type
Type meta-data (schema) for Requirement object instances |
static class |
Requirement.WebCacheRequirement
Item accessor for cached SDK Requirement items contained objects are obtained from the artifact cache |
| Nested classes/interfaces inherited from class com.starteam.TreeItem |
|---|
TreeItem.MoSCoW, TreeItem.WebCacheTreeItem |
| Nested classes/interfaces inherited from class com.starteam.Item |
|---|
Item.WebCacheItem |
| Nested classes/interfaces inherited from class com.starteam.ViewMember |
|---|
ViewMember.LockType, ViewMember.MyLock, ViewMember.ShareState, ViewMember.WebCacheViewMember |
| Nested classes/interfaces inherited from class com.starteam.VersionedObject |
|---|
VersionedObject.WebCacheVersionedObject |
| Nested classes/interfaces inherited from class com.starteam.TrackedObject |
|---|
TrackedObject.WebCacheTrackedObject |
| Nested classes/interfaces inherited from class com.starteam.LiveObject |
|---|
LiveObject.WebCacheLiveObject |
| Nested classes/interfaces inherited from class com.starteam.TypedResource |
|---|
TypedResource.BranchState |
| Constructor Summary | |
|---|---|
Requirement(Requirement parent)
Creates a new requirement that is a child of an existing requirement. |
|
| Method Summary | |
|---|---|
boolean |
amIResponsible()
Tests if the logged in user is responsible for the requirement |
static Requirement |
create(Folder prnt)
Create a Requirement in the specified parent folder. |
int |
getAmbiguitiesCount()
Return the number of ambiguities found for the requirement. |
java.lang.String |
getComments()
Comments recorded for the requirement |
int |
getExpectedEffort()
The estimated effort expected for completing the requirement. |
int |
getHighEffort()
The Highest effort expected for completing the requirement. |
int |
getLowEffort()
The lowest effort expected for completing the requirement. |
TreeItem.MoSCoW |
getMoSCoW()
MoSCoW of the requirement |
java.lang.String |
getName()
Return the name of the requirement |
java.lang.String |
getNotes()
Notes recorded for the requirement |
double |
getOrder()
Returns the order in which the requirement should be worked on. |
DoubleProperty |
getOrderProperty()
Returns a DoubleProperty used for ordering tree item instances Any TreeItem Type that intends to have the children of a particular parent ordered using a default numeric scheme must provide a double property to store the implicit order. |
User |
getOwner()
Owner of the requirement |
Requirement.Priority |
getPriority()
Priority of the requirement |
Requirement.Type.PropertyCollection |
getProperties()
Gets the PropertyCollection for this Requirement. |
double |
getRank()
Returns this requirement's rank. |
int |
getRequirementNumber()
Requirement number |
Requirement.RequirementType |
getRequirementType()
Type of the requirement |
User[] |
getResponsibleUsers()
The users responsible for the requirement. |
User[] |
getReviewedBy()
Users who reviewed the requirement |
java.lang.String |
getRevisedDescription()
Revised description for the requirement |
Content |
getRichDescription()
Returns the Rich Description |
Requirement.Status |
getStatus()
Returns the status (Draft, Submitted, Pending, Accepted, etc.) of the requirement. |
Requirement.StreamState |
getStreamState()
Returns the Stream State |
EnumeratedValue[] |
getTags()
returns the tags, if any, attached to this story the returned array may be of size 0, but is never null |
EnumeratedValue |
getUDAGrouping()
UDA Grouping of the requirement |
boolean |
hasParent()
Tests if the Requirement has a parent |
void |
setAmbiguitiesCount(int numAmbiguities)
Set the number of ambiguities for the requirement. |
void |
setComments(java.lang.String comments)
Set the comments recorded for the requirement |
void |
setExpectedEffort(int effort)
The estimated effort expected for completing the requirement. |
void |
setHighEffort(int effort)
The highest effort expected for completing the requirement. |
void |
setLowEffort(int effort)
Set the lowest effort expected for completing the requirement. |
void |
setMoSCoW(TreeItem.MoSCoW moscow)
Set the MoSCoW of the requirement |
void |
setName(java.lang.String name)
set the name of the requirement |
void |
setNotes(java.lang.String notes)
Set the notes recorded for the requirement |
void |
setOrder(double order)
Sets the new order in which the requirement should be worked on. |
void |
setOwner(User owner)
Set the owner for the requirement |
void |
setPriority(Requirement.Priority priority)
Set the priority of the requirement |
void |
setRank(double rank)
Sets the new rank for this requirement. |
void |
setRequirementType(Requirement.RequirementType reqType)
Set the type of the requirement |
void |
setResponsibleUsers(User[] responsibleUsers)
Set the users responsible for the requirement. |
void |
setReviewedBy(User[] users)
Set the users who reviewed the requirement |
void |
setRevisedDescription(java.lang.String revisedDesc)
Set the revised description for the requirement |
void |
setRichDescription(Content cntnt)
Sets the the Rich Description for the requirement This property was introduced in 14.0 release of the server. |
void |
setStatus(Requirement.Status status)
Sets the status of the requirement. |
void |
setStreamState(Requirement.StreamState streamState)
Sets the the Stream State for the Requirement |
void |
setTags(EnumeratedValue[] tags)
sets the tags to be assigned to this story 0, 1 or more tags may be assigned or reassigned |
void |
setUDAGrouping(EnumeratedValue udaGrouping)
Set the UDA Grouping of the requirement |
java.lang.String |
toString()
Returns the notes of this requirement. |
| Methods inherited from class com.starteam.TreeItem |
|---|
createChild, getChildren, getParent, getParentID, hasChildren, isEqualTo, moveTo, moveTo, remove, setAfter, setBefore, setBetween, setFirst, setLast, shareTo, smartShareTo, update |
| Methods inherited from class com.starteam.VersionedObject |
|---|
getBranchRevision, getRevisionNumber, getViewVersion, isFromHistory |
| Methods inherited from class com.starteam.TrackedObject |
|---|
getModifiedBy, getModifiedTime |
| Methods inherited from class com.starteam.LiveObject |
|---|
getCreatedBy, getCreatedTime, toStarTeamURL |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.starteam.ISecurable |
|---|
getServer, getType |
| Constructor Detail |
|---|
public Requirement(Requirement parent)
parent - The parent requirement.| Method Detail |
|---|
public static Requirement create(Folder prnt)
prnt - the parent folder
public Requirement.Type.PropertyCollection getProperties()
public User[] getResponsibleUsers()
public void setResponsibleUsers(User[] responsibleUsers)
responsibleUsers - the users responsible for the requirementpublic boolean amIResponsible()
public boolean hasParent()
public int getAmbiguitiesCount()
public void setAmbiguitiesCount(int numAmbiguities)
numAmbiguities - the number of ambiguities found for the requirement.public int getExpectedEffort()
public void setExpectedEffort(int effort)
effort - the estimated effort expected for completing the requirement.public int getHighEffort()
public void setHighEffort(int effort)
effort - the estimated effort expected.public int getLowEffort()
public void setLowEffort(int effort)
effort - the minimum effort expected.public java.lang.String getNotes()
public java.lang.String getComments()
public void setNotes(java.lang.String notes)
notes - - notes recorded for the requirementpublic void setComments(java.lang.String comments)
comments - - comments recorded for the requirementpublic void setOrder(double order)
order - The new order for this requirement.Requirement.Type.PropertyCollection.ORDERpublic double getOrder()
Requirement.Type.PropertyCollection.ORDERpublic void setRank(double rank)
rank - The new rank for this requirement.Requirement.Type.PropertyCollection.RANKpublic double getRank()
Requirement.Type.PropertyCollection.RANKpublic DoubleProperty getOrderProperty()
getOrderProperty in class TreeItempublic java.lang.String getName()
public void setName(java.lang.String name)
name - the name of the requirementpublic Content getRichDescription()
TreeItem.Type.RichDescriptionProperty.NAMEpublic void setRichDescription(Content cntnt)
cntnt - the ContentTreeItem.Type.RichDescriptionProperty.NAMEpublic User getOwner()
public void setOwner(User owner)
owner - - owner for the requirementpublic Requirement.Priority getPriority()
public void setPriority(Requirement.Priority priority)
priority - - priority of the requirementpublic int getRequirementNumber()
public Requirement.RequirementType getRequirementType()
public void setRequirementType(Requirement.RequirementType reqType)
reqType - requirement typepublic TreeItem.MoSCoW getMoSCoW()
public void setMoSCoW(TreeItem.MoSCoW moscow)
moscow - MoSCoWpublic EnumeratedValue getUDAGrouping()
public void setUDAGrouping(EnumeratedValue udaGrouping)
udaGrouping - the groupingpublic User[] getReviewedBy()
public void setReviewedBy(User[] users)
users - who reviewed the requirementpublic java.lang.String getRevisedDescription()
public void setRevisedDescription(java.lang.String revisedDesc)
revisedDesc - revised description.public Requirement.Status getStatus()
Requirement.Status,
Requirement.Type.StatusProperty,
Requirement.Type.PropertyCollection.STATUSpublic void setStatus(Requirement.Status status)
status - The new status for the requirement.public Requirement.StreamState getStreamState()
Requirement.Type.StreamStateProperty.NAMEpublic void setStreamState(Requirement.StreamState streamState)
streamState - the Stream StateRequirement.Type.StreamStateProperty.NAMEpublic EnumeratedValue[] getTags()
public void setTags(EnumeratedValue[] tags)
tags - the tags to be assigned to this storypublic java.lang.String toString()
toString in class Item
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||