|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.greenhopper.service.sprint.health.SprintHealthMetricsResolver
public class SprintHealthMetricsResolver
Contains methods to calculate the metrics of a sprint.
Nested Class Summary | |
---|---|
static class |
SprintHealthMetricsResolver.IssueColumnChange
|
Constructor Summary | |
---|---|
SprintHealthMetricsResolver()
|
Method Summary | |
---|---|
static long |
calculateDuration(org.joda.time.DateTime startDate,
org.joda.time.DateTime endDate,
WorkRateData workRate)
Calculates the duration between two dates in millis, taking into account non working days |
static java.lang.Long |
calculateScopeChangePercentage(Sprint sprint,
SprintBurndownModel sprintBurndown)
Calculates the scope change percentage of a sprint. |
static java.lang.Long |
calculateSprintCompletionPercentage(Sprint sprint,
WorkRateData workRate,
org.joda.time.DateTime now)
|
static java.lang.Long |
calculateWorkCompletionPercentage(SprintProgress sprintProgress)
|
static boolean |
isIssueBoomerang(Sprint sprint,
java.util.List<Column> columns,
java.lang.String issueKey,
java.util.SortedSet<SprintHealthMetricsResolver.IssueColumnChange> statusChanges)
|
static boolean |
isIssueStale(RapidIssueEntry issue,
Sprint sprint)
Checks if the given issue is stale. |
static SprintProgress |
resolveSprintProgress(ColumnService.ColumnProgressMap columnProgressMap,
java.util.List<RapidIssueEntry> issues)
|
static SprintHealth.Status |
resolveSprintStatus(java.lang.Long sprintCompletionPercentage,
java.lang.Long workCompletedPercentage)
Calculates the status of a sprint based on the sprint completion and work completion |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SprintHealthMetricsResolver()
Method Detail |
---|
public static SprintProgress resolveSprintProgress(ColumnService.ColumnProgressMap columnProgressMap, java.util.List<RapidIssueEntry> issues)
public static SprintHealth.Status resolveSprintStatus(java.lang.Long sprintCompletionPercentage, java.lang.Long workCompletedPercentage)
public static boolean isIssueStale(RapidIssueEntry issue, Sprint sprint)
issue
- sprint
-
public static boolean isIssueBoomerang(Sprint sprint, java.util.List<Column> columns, java.lang.String issueKey, java.util.SortedSet<SprintHealthMetricsResolver.IssueColumnChange> statusChanges)
public static java.lang.Long calculateSprintCompletionPercentage(Sprint sprint, WorkRateData workRate, org.joda.time.DateTime now)
public static long calculateDuration(org.joda.time.DateTime startDate, org.joda.time.DateTime endDate, WorkRateData workRate)
public static java.lang.Long calculateScopeChangePercentage(Sprint sprint, SprintBurndownModel sprintBurndown)
sprint
- sprintBurndown
-
public static java.lang.Long calculateWorkCompletionPercentage(SprintProgress sprintProgress)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |