|
|||||||||
| 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.Sprint
public class Sprint
An Agile/Scrum Sprint is a basic unit of development. It sums up all work to be accomplished within the sprint period that typically spans from a week to a month.
| Nested Class Summary | |
|---|---|
static class |
Sprint.Type
Type meta-data (schema) for Sprint object instances. |
static class |
Sprint.WebCacheSprint
Item accessor for cached SDK Sprint items contained objects are obtained from the artifact cache |
| 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 |
| Method Summary | |
|---|---|
static Sprint |
create(Folder prnt)
Create a Sprint in the specified parent folder. |
double |
getCapacity(User u)
return the capacity for the specified user |
java.lang.String |
getDescription()
Returns the text in the "Description" property for this sprint. |
Date |
getEndDate()
Returns the End Date of this sprint. |
java.lang.String |
getName()
Returns the Name of this sprint. |
User |
getOwner()
Returns the User object who owns this sprint. |
Sprint.Type.PropertyCollection |
getProperties()
Gets the PropertyCollection for this Sprint. |
int |
getSprintID()
Returns the sprint id. |
Date |
getStartDate()
Returns the Start Date of this sprint. |
Story[] |
getStories()
Returns the stories which are linked to this sprint. |
View[] |
getTargetReleases()
return the target releases that this sprint may be mapped to |
java.lang.String |
getTeam()
Returns the team for this sprint. |
boolean |
hasCapacity(User u)
Return true if this sprint has an assigned capacity for the specified user |
void |
setCapacity(User u,
double capacity)
set the capacity for a given user |
void |
setDescription(java.lang.String description)
Sets the text in the "Description" property for this sprint. |
void |
setEndDate(Date dt)
Set the End Date for this sprint. |
void |
setName(java.lang.String Name)
Sets the Name of this sprint. |
void |
setOwner(User user)
Sets the User who owns this sprint. |
void |
setStartDate(Date dt)
Set the Start Date for this sprint. |
void |
setTargetReleases(View[] vv)
set the target releases to which this sprint may map |
void |
setTeam(java.lang.String team)
Sets the new team for this sprint. |
void |
update()
Either stores this sprint in the server repository if new or modifies an existing sprint. |
| 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 |
| Method Detail |
|---|
public static Sprint create(Folder prnt)
prnt - the parent folder
public Sprint.Type.PropertyCollection getProperties()
public java.lang.String getName()
Sprint.Type.PropertyCollection.NAMEpublic void setName(java.lang.String Name)
Name - the new Name for this sprint.Sprint.Type.PropertyCollection.NAMEpublic void setTeam(java.lang.String team)
team - The new team for this sprint.Sprint.Type.PropertyCollection.TEAMpublic java.lang.String getTeam()
Sprint.Type.PropertyCollection.TEAMpublic java.lang.String getDescription()
Sprint.Type.PropertyCollection.DESCRIPTIONpublic void setDescription(java.lang.String description)
description - the text in the "Description" property for this sprint.Sprint.Type.PropertyCollection.DESCRIPTIONpublic User getOwner()
User object who owns this sprint.
User object who owns this sprint.Sprint.Type.OwnerProperty.NAMEpublic Date getStartDate()
Start Date of this sprint.
Start Date of this sprint.public void setStartDate(Date dt)
Start Date for this sprint.
public int getSprintID()
Sprint.Type.PropertyCollection.SPRINT_IDpublic Date getEndDate()
End Date of this sprint.
End Date of this sprint.public void setEndDate(Date dt)
End Date for this sprint.
public void setOwner(User user)
User who owns this sprint.
user - the User who owns this sprint.public Story[] getStories()
public void setTargetReleases(View[] vv)
vv - the target releases to which this sprint may mappublic View[] getTargetReleases()
public boolean hasCapacity(User u)
u - the user to test against
public double getCapacity(User u)
u - the user to test against
public void setCapacity(User u,
double capacity)
u - the usercapacity - the capacity to setpublic void update()
update in class ViewMemberTypedResource.isNew()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||