|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HourBurndownChartService
This service is responsible for converting raw data into Model classes for the respective charts.
Field Summary | |
---|---|
static java.lang.String |
SERVICE
|
Method Summary | |
---|---|
HourBurndownModel |
getAggregatedHourBurndown(GHVersion iteration,
com.atlassian.crowd.embedded.api.User user,
ChartBoard board)
Build the HourBurndownModel for a parent iteration. |
HourBurndownModel |
getAggregatedHourBurndown(com.atlassian.crowd.embedded.api.User user,
HourBurndownSpan burndownSpan,
HourBurndownSpanMapper hourBurndownSpanMapper)
|
HourBurndownModel |
getHourBurndown(java.util.List<com.atlassian.jira.issue.Issue> issues,
com.atlassian.crowd.embedded.api.User user,
org.joda.time.DateMidnight startDate,
org.joda.time.DateMidnight endDate)
Build the HourBurndownModel for the given data. |
TimelineAnalysis |
getHourBurndownAnalysis(java.util.List<com.atlassian.jira.issue.Issue> issues,
com.atlassian.crowd.embedded.api.User user,
org.joda.time.DateMidnight startDate,
org.joda.time.DateMidnight endDate)
|
java.util.Map<java.lang.String,IssueReport> |
getHourBurndownReport(java.util.List<com.atlassian.jira.issue.Issue> issues,
com.atlassian.crowd.embedded.api.User user,
org.joda.time.DateMidnight startDate,
org.joda.time.DateMidnight endDate,
ChartContext chartContext)
Build a Map of IssueReport items for all given issues, with the remaining estimate values set for each day in the sprint. |
HourBurndownEntry |
getInitialValue(com.atlassian.crowd.embedded.api.User user,
WorklogTimeline timeline,
java.util.List<com.atlassian.jira.issue.Issue> issues,
org.joda.time.DateMidnight startDate)
|
HourBurndownEntry |
getInitialValue(com.atlassian.crowd.embedded.api.User user,
WorklogTimeline timeline,
java.util.List<com.atlassian.jira.issue.Issue> issues,
org.joda.time.DateMidnight startDate,
TimelineAnalysis analysis)
|
Field Detail |
---|
static final java.lang.String SERVICE
Method Detail |
---|
HourBurndownModel getHourBurndown(java.util.List<com.atlassian.jira.issue.Issue> issues, com.atlassian.crowd.embedded.api.User user, org.joda.time.DateMidnight startDate, org.joda.time.DateMidnight endDate)
WorklogHistoryService
.
The model uses DateMidnight
as a key, since the burndown charts are aggregated by day. Use DateUtils
to convert
if necessary. If dates are null, the current day will be used.
TODO refactor method signature once model refactoring and contextual data service are done
issues
- : The issues to build the chart model for. This can be a list of all issues in an iteration, or a filtered list.user
- startDate
- : The start date of the iteration, or null if not knownendDate
- : The end date of the iteration, or null if not known
HourBurndownModel getAggregatedHourBurndown(GHVersion iteration, com.atlassian.crowd.embedded.api.User user, ChartBoard board)
iteration
- : The parent iterationuser
- : The current user
HourBurndownModel getAggregatedHourBurndown(com.atlassian.crowd.embedded.api.User user, HourBurndownSpan burndownSpan, HourBurndownSpanMapper hourBurndownSpanMapper)
java.util.Map<java.lang.String,IssueReport> getHourBurndownReport(java.util.List<com.atlassian.jira.issue.Issue> issues, com.atlassian.crowd.embedded.api.User user, org.joda.time.DateMidnight startDate, org.joda.time.DateMidnight endDate, ChartContext chartContext)
IssueReport
items for all given issues, with the remaining estimate values set for each day in the sprint.
Key is the issue key. If dates are null, the current day will be used.
issues
- : The issues to build the report foruser
- startDate
- : The start date of the iteration, or null if not knownendDate
- : The end date of the iteration, or null if not knownHourBurndownEntry getInitialValue(com.atlassian.crowd.embedded.api.User user, WorklogTimeline timeline, java.util.List<com.atlassian.jira.issue.Issue> issues, org.joda.time.DateMidnight startDate, TimelineAnalysis analysis)
HourBurndownEntry getInitialValue(com.atlassian.crowd.embedded.api.User user, WorklogTimeline timeline, java.util.List<com.atlassian.jira.issue.Issue> issues, org.joda.time.DateMidnight startDate)
TimelineAnalysis getHourBurndownAnalysis(java.util.List<com.atlassian.jira.issue.Issue> issues, com.atlassian.crowd.embedded.api.User user, org.joda.time.DateMidnight startDate, org.joda.time.DateMidnight endDate)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |