Interface PoolService
- All Known Implementing Classes:
PoolServiceImpl
public interface PoolService
Provides calculation of swimlane contents functionality
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classColumn constraints data as well as board statistics datastatic classResult returned by getSwimlaneIssues -
Method Summary
Modifier and TypeMethodDescriptionareIssueSubtasksInFinalColumn(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView, Long issueId) Returns whether all subtasks for a given issue have been resolved AND the parent hasn't been resolved yet.getColumnConstraintsData(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView) Calculate the constraints data per column of the specifiedRapidView, for transport to the pool.getCustomSwimlanes(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView, WorkFilters workFilters, Set<Long> validIssues) Gets the contents of each swimlane in rapidView as seen by usergetParentSwimlanesData(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView, List<RapidIssueEntry> issues, Set<RapidIssueEntry> missingParents) Gathers the ParentSwimlanesData for a given rapid view.
-
Method Details
-
getCustomSwimlanes
@Nonnull ServiceOutcome<List<PoolService.SwimlaneIssuesData>> getCustomSwimlanes(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView, WorkFilters workFilters, Set<Long> validIssues) Gets the contents of each swimlane in rapidView as seen by user -
getColumnConstraintsData
@Nonnull ServiceOutcome<PoolService.ColumnConstraintsData> getColumnConstraintsData(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView) Calculate the constraints data per column of the specifiedRapidView, for transport to the pool. Uses the Rapid View'sStatisticsFieldConfigto calculate this. Note that the totals for each column are specified asDouble, since this is howNumberCFTypefields store their values in the index.- Parameters:
user- the user doing the requestrapidView- the rapid view- Returns:
- a mapping of column to statistic total
-
areIssueSubtasksInFinalColumn
@Nonnull ServiceOutcome<IssueSubtasksResolved> areIssueSubtasksInFinalColumn(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView, Long issueId) Returns whether all subtasks for a given issue have been resolved AND the parent hasn't been resolved yet. -
getParentSwimlanesData
ServiceOutcome<ParentSwimlanesData> getParentSwimlanesData(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView, List<RapidIssueEntry> issues, Set<RapidIssueEntry> missingParents) Gathers the ParentSwimlanesData for a given rapid view. The result contains all parent issue ids as well as issues that are mis-aligned to their subtasks (in terms of their status)
-