|
|||||||||
| 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.Story
public class Story
A Story represents an Agile user story. It has a StoryType property to further qualify it as a more specific Agile artifact like Epic, Theme ... . Stories can be hierarchical, that is a parent story can have child stories. Stories may have Tasks to break them up into smaller units of work.
| Nested Class Summary | |
|---|---|
static class |
Story.Risk
Risk of the Story |
static class |
Story.Status
The status of this story |
static class |
Story.StoryType
The type of the story according to agile terminology. |
static class |
Story.StoryValue
Value of the Story |
static class |
Story.StreamState
The Info Stream State of the Story |
static class |
Story.Type
Type meta-data (schema) for Story object instances. |
static class |
Story.WebCacheStory
Item accessor for cached SDK Story 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 | |
|---|---|
Story(Story parent)
Creates a child-Story under this parent Story. |
|
| Method Summary | |
|---|---|
static Story |
create(Folder prnt)
Create a Story in the specified parent folder. |
java.lang.String |
getAcceptanceCriteria()
Returns the text in the "AcceptanceCriteria" for this story. |
java.lang.String |
getDescription()
Returns the description of this story. |
double |
getEstimatedPoints()
Returns a estimated points indicating how long it might take for the story to be completed. |
EnumeratedValue[] |
getIncomingStreams()
returns the incoming streams, if any, attached to this story the returned array may be of size 0, but is never null |
TreeItem.MoSCoW |
getMoSCoW()
MoSCoW of the requirement |
java.lang.String |
getName()
Returns the Name of this story. |
java.lang.String |
getNotes()
Returns the text in the "Notes" for this story. |
double |
getOrder()
Returns the order in which the story should be executed. |
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. |
Sprint |
getParentSprint()
Return the Sprint containing this Story or null |
Story.Type.PropertyCollection |
getProperties()
Gets the PropertyCollection for this Story. |
double |
getRank()
Returns the rank in which the story should be viewed. |
Content |
getRichDescription()
Returns the Rich Description |
Story.Risk |
getRisk()
Returns the risk for the story |
User |
getSponsor()
Sponsor of the story |
Story.Status |
getStatus()
Gets the status of a story based on the statuses of the tasks under that story. |
int |
getStoryID()
Returns the story id. |
Story.StoryType |
getStoryType()
Returns the story type |
Story.StoryValue |
getStoryValue()
Returns the story value |
Story.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 |
View[] |
getTargetReleases()
return the target releases that this story may be mapped to |
Task[] |
getTasks()
Returns the tasks which are linked to this story. |
java.lang.String |
getTeam()
Returns the team for this story. |
java.lang.Object |
getValue(Property property)
Returns the value of the property. |
void |
setAcceptanceCriteria(java.lang.String acceptanceCriteria)
Sets the text in the "AcceptanceCriteria" for this story. |
void |
setDescription(java.lang.String description)
Sets the description of this story. |
void |
setEstimatedPoints(double estmtdPnts)
Sets the estimated points indicating how long it might take for the story to be completed. |
void |
setIncomingStreams(EnumeratedValue[] streams)
sets the incoming streams to be assigned to this story 0, 1 or more incoming streams may be assigned or reassigned |
void |
setMoSCoW(TreeItem.MoSCoW moscow)
Set the MoSCoW of the story This property was introduced in 14.0 release of the server. |
void |
setName(java.lang.String name)
Sets the Name of this story. |
void |
setNotes(java.lang.String notes)
Sets the text in the "Notes" for this story. |
void |
setOrder(double storyOrder)
Sets the order in which the story should be executed. |
void |
setRank(double rank)
Sets the rank in which the story should be viewed. |
void |
setRichDescription(Content cntnt)
Sets the the Rich Description for the story |
void |
setRisk(Story.Risk risk)
Sets the the risk for the story |
void |
setSponsor(User sponsor)
Set the sponsor for the story. |
void |
setStatus(Story.Status sts)
Sets the status of the story |
void |
setStoryType(Story.StoryType storyType)
Sets the the story type for the story |
void |
setStoryValue(Story.StoryValue storyValue)
Sets the story value of the story |
void |
setStreamState(Story.StreamState streamState)
Sets the the Stream State for the story |
void |
setTags(EnumeratedValue[] tags)
sets the tags to be assigned to this story 0, 1 or more tags may be assigned or reassigned |
void |
setTargetReleases(View[] vv)
set the target releases to which this story may map |
void |
setTeam(java.lang.String team)
Sets the new team for this story. |
| 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 Story(Story parent)
parent - | Method Detail |
|---|
public static Story create(Folder prnt)
prnt - the parent folder
public java.lang.Object getValue(Property property)
throws NoSuchPropertyException
getValue in class ViewMemberproperty - the desired property
java.lang.Object
com.starteam.NoSuchPropertyException - if the specified property is not valid for this item
NoSuchPropertyExceptionpublic Sprint getParentSprint()
public Story.Type.PropertyCollection getProperties()
public java.lang.String getName()
Story.Type.PropertyCollection.NAMEpublic void setName(java.lang.String name)
name - the new Name for this story.Story.Type.PropertyCollection.NAMEpublic java.lang.String getDescription()
LiveObject.Type.DescriptionProperty.NAMEpublic void setDescription(java.lang.String description)
description - the new description for this story.LiveObject.Type.DescriptionProperty.NAMEpublic Story.StoryType getStoryType()
Story.Type.StoryTypeProperty.NAMEpublic void setStoryType(Story.StoryType storyType)
storyType - the story typeStory.Type.StoryTypeProperty.NAMEpublic Story.StreamState getStreamState()
Story.Type.StreamStateProperty.NAMEpublic void setStreamState(Story.StreamState streamState)
streamState - the Stream StateStory.Type.StreamStateProperty.NAMEpublic Content getRichDescription()
TreeItem.Type.RichDescriptionProperty.NAMEpublic void setRichDescription(Content cntnt)
cntnt - the ContentTreeItem.Type.RichDescriptionProperty.NAMEpublic TreeItem.MoSCoW getMoSCoW()
public void setMoSCoW(TreeItem.MoSCoW moscow)
moscow - MoSCoWpublic void setTeam(java.lang.String team)
team - The new team for this story.Story.Type.PropertyCollection.TEAMpublic java.lang.String getTeam()
Story.Type.PropertyCollection.TEAMpublic void setTargetReleases(View[] vv)
vv - the target releases to which this story may mappublic View[] getTargetReleases()
public Story.Risk getRisk()
Story.Type.RiskProperty.NAMEpublic void setRisk(Story.Risk risk)
risk - the risk for the storyStory.Type.RiskProperty.NAMEpublic Story.StoryValue getStoryValue()
Story.Type.StoryValueProperty.NAMEpublic void setStoryValue(Story.StoryValue storyValue)
storyValue - the story value of the storyStory.Type.StoryValueProperty.NAMEpublic double getEstimatedPoints()
Story.Type.PropertyCollection.ESTIMATED_POINTSpublic void setEstimatedPoints(double estmtdPnts)
estmtdPnts - The new estimated points indicating how long it might take
for the story to be completed.public int getStoryID()
Story.Type.PropertyCollection.STORY_IDpublic double getOrder()
Story.Type.PropertyCollection.STORY_ORDERpublic double getRank()
Story.Type.PropertyCollection.RANKpublic DoubleProperty getOrderProperty()
getOrderProperty in class TreeItempublic void setOrder(double storyOrder)
storyOrder - the order in which the story should be executed.public void setRank(double rank)
rank - the rank in which the story should be viewed.public java.lang.String getAcceptanceCriteria()
Story.Type.PropertyCollection.ACCEPTANCE_CRITERIApublic void setAcceptanceCriteria(java.lang.String acceptanceCriteria)
acceptanceCriteria - The new AcceptanceCriteria text for this story.Story.Type.PropertyCollection.ACCEPTANCE_CRITERIApublic java.lang.String getNotes()
Story.Type.PropertyCollection.NOTESpublic void setNotes(java.lang.String notes)
notes - the new Notes text for this story.Story.Type.PropertyCollection.NOTESpublic EnumeratedValue[] getTags()
public void setTags(EnumeratedValue[] tags)
tags - the tags to be assigned to this storypublic EnumeratedValue[] getIncomingStreams()
public void setIncomingStreams(EnumeratedValue[] streams)
streams - the incoming streams to be assigned to this storypublic User getSponsor()
public void setSponsor(User sponsor)
sponsor - - sponsor for the storypublic Task[] getTasks()
public Story.Status getStatus()
public void setStatus(Story.Status sts)
sts - The status of the story
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||