com.atlassian.greenhopper.service.statistics
Interface CapacityService2

All Known Implementing Classes:
CapacityService2Impl

public interface CapacityService2

Encapsulates capacity storage Note: All methods expect a boardKey instead of a boardType. While on planning board the two are often the same, the differ in cases where the board has subfilters (e.g. byVersion or byAssignee), plus on the TaskBoard where the column should form part of the boardKey BoardKey therefore is a specific board configuration (breadcrumb filters/ TB + column) for which capacities should be stored


Field Summary
static java.lang.String SERVICE
          Service identifier to be used for dependency injection.
 
Method Summary
 Capacity getCapacity(com.atlassian.jira.project.Project project, ViewDefinition view, java.lang.String key, WatchedField watchedField)
           
 

Field Detail

SERVICE

static final java.lang.String SERVICE
Service identifier to be used for dependency injection.

See Also:
Constant Field Values
Method Detail

getCapacity

Capacity getCapacity(com.atlassian.jira.project.Project project,
                     ViewDefinition view,
                     java.lang.String key,
                     WatchedField watchedField)
Parameters:
project - the project a Capacity is stored against
watchedField - the watched field to get capacity for
key - The key to find capacities for. This is normally the actual board id, but could also be the column id (task board) and would be null for the default capacities. The Key passed in is the key used.
Returns:
a Capacity object for the given parameters. Never returns null


Copyright © 2007-2012 Atlassian. All Rights Reserved.