com.atlassian.greenhopper.service.team
Class GreenHopperTeamAllocationProvider
java.lang.Object
com.atlassian.greenhopper.service.team.GreenHopperTeamAllocationProvider
- All Implemented Interfaces:
- TeamAllocationServiceSPI
@Service(value="gh-ghTeamAllocationProvider")
public class GreenHopperTeamAllocationProvider
- extends java.lang.Object
- implements TeamAllocationServiceSPI
GreenHopper implementation of the TeamAllocationSPI interface.
This implementation uses the non working days information to determine day allocation information
and bases the time allocation data on a single user working on each day for hoursPerDay time.
Field Summary |
static java.lang.String |
SERVICE
|
Method Summary |
TimeAllocation |
getTimeAllocation(com.atlassian.crowd.embedded.api.User user,
java.util.Set<org.joda.time.DateMidnight> nonWorkingDays,
org.joda.time.DateMidnight startDate,
org.joda.time.DateMidnight endDate)
Legacy implementation - used in current code until project and other values are available |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVICE
public static final java.lang.String SERVICE
- See Also:
- Constant Field Values
GreenHopperTeamAllocationProvider
public GreenHopperTeamAllocationProvider()
getTimeAllocation
public TimeAllocation getTimeAllocation(com.atlassian.crowd.embedded.api.User user,
java.util.Set<org.joda.time.DateMidnight> nonWorkingDays,
org.joda.time.DateMidnight startDate,
org.joda.time.DateMidnight endDate)
- Legacy implementation - used in current code until project and other values are available
- Specified by:
getTimeAllocation
in interface TeamAllocationServiceSPI
Copyright © 2007-2013 Atlassian. All Rights Reserved.