Class Sprint
java.lang.Object
com.atlassian.greenhopper.service.sprint.Sprint
- All Implemented Interfaces:
com.atlassian.jira.entity.WithId
The object which represents single iteration in Scrum Methodology.
- Since:
- 6.7
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface com.atlassian.jira.entity.WithId
ID_COMPARATOR
-
Method Summary
Modifier and TypeMethodDescriptionstatic Sprint.SprintBuilder
builder()
static Sprint.SprintBuilder
boolean
org.joda.time.DateTime
org.joda.time.DateTime
org.joda.time.DateTime
getGoal()
getId()
getName()
org.joda.time.DateTime
getState()
boolean
hasGoal()
int
hashCode()
boolean
isActive()
boolean
boolean
isClosed()
boolean
isFuture()
boolean
isSynced()
toString()
-
Method Details
-
getId
- Specified by:
getId
in interfacecom.atlassian.jira.entity.WithId
- Returns:
- the id of the sprint.
-
getRapidViewId
- Returns:
- the id of the
RapidView
on which sprint was created.
-
getState
- Returns:
- the state of the sprint.
-
getName
- Returns:
- the name of the sprint.
-
getStartDate
@Nullable public org.joda.time.DateTime getStartDate()- Returns:
- the date when the sprint is supposed to start. May be null if sprint hasn't been started or the start dates hasn't been planned.
-
getActivatedDate
@Nullable public org.joda.time.DateTime getActivatedDate()- Returns:
- the date when the sprint has started. May be null if sprint hasn't been activated (started).
-
getEndDate
@Nullable public org.joda.time.DateTime getEndDate()- Returns:
- the date when the sprint suppose to end. May be null if sprint hasn't been started.
-
getCompleteDate
@Nullable public org.joda.time.DateTime getCompleteDate()- Returns:
- the date when sprint was completed. May be null if sprint hasn't been closed.
-
getSequence
- Returns:
- the number which determine sprints order in the backlog. Initially is equal to the sprint id.
-
getGoal
- Returns:
- the the sprint's goal. Initially - empty.
-
hasGoal
public boolean hasGoal()- Returns:
- Bool, true if goal is defined.
-
isAutoStartStop
public boolean isAutoStartStop()- Returns:
- Bool, true if the auto start/stop option is enabled for the Sprint; false otherwise.
-
getIncompleteIssuesDestinationId
-
isFuture
public boolean isFuture()- Returns:
- true if sprint hasn't been started yet.
-
isActive
public boolean isActive()- Returns:
- true if sprint is active.
-
isClosed
public boolean isClosed()- Returns:
- true if sprint has been completed.
-
isSynced
public boolean isSynced()- Returns:
- true if sprint holds attributes matching those of associated team sprints in Jira Align.
-
hashCode
public int hashCode() -
equals
-
toString
-
builder
-
builder
-