com.atlassian.greenhopper.service.statistics
Class CapacityService2Impl

java.lang.Object
  extended by com.atlassian.greenhopper.service.statistics.CapacityService2Impl
All Implemented Interfaces:
CapacityService2

@Service(value="gh-capacityService2")
public class CapacityService2Impl
extends java.lang.Object
implements CapacityService2

Capacity service provides capacity objects for a given xproject/board


Field Summary
 
Fields inherited from interface com.atlassian.greenhopper.service.statistics.CapacityService2
SERVICE
 
Constructor Summary
CapacityService2Impl()
           
 
Method Summary
 Capacity getCapacity(com.atlassian.jira.project.Project project, ViewDefinition view, java.lang.String key, WatchedField watchedField)
          Deprecated. 
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CapacityService2Impl

public CapacityService2Impl()
Method Detail

getCapacity

@Deprecated
public Capacity getCapacity(com.atlassian.jira.project.Project project,
                                       ViewDefinition view,
                                       java.lang.String key,
                                       WatchedField watchedField)
Deprecated. 

Currently assumes the key passed in is the key used

Specified by:
getCapacity in interface CapacityService2
Parameters:
project - the project a Capacity is stored against
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.
watchedField - the watched field to get capacity for
Returns:
a Capacity object for the given parameters. Never returns null


Copyright © 2007-2012 Atlassian. All Rights Reserved.