com.atlassian.jira.plugin.report.impl
Class DeveloperWorkloadReport
java.lang.Object
com.atlassian.jira.plugin.report.impl.AbstractReport
com.atlassian.jira.plugin.report.impl.DeveloperWorkloadReport
- All Implemented Interfaces:
- Report
public class DeveloperWorkloadReport
- extends AbstractReport
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeveloperWorkloadReport
public DeveloperWorkloadReport(ProjectManager projectManager,
ApplicationProperties applicationProperties,
JiraDurationUtils jiraDurationUtils)
showReport
public boolean showReport()
- Description copied from class:
AbstractReport
- Whether or not to show this report in the interface. The default is "true".
- Specified by:
showReport
in interface Report
- Overrides:
showReport
in class AbstractReport
validate
public void validate(ProjectActionSupport action,
Map params)
- Description copied from interface:
Report
- Validate the parameters passed to this report from the UI.
Any errors should be added to the action errors.
- Specified by:
validate
in interface Report
- Overrides:
validate
in class AbstractReport
generateReportHtml
public String generateReportHtml(ProjectActionSupport action,
Map reqParams)
throws Exception
- Description copied from interface:
Report
- Generate the report's HTML - usually from the Velocity resource named "html".
- Throws:
Exception
formatPrettyDuration
public String formatPrettyDuration(Long v)
- this formatting function is shared by the full view for navigator as well as view issue.
- Parameters:
v
- duration in seconds
- Returns:
- formatted duration
getHoursPerDay
protected int getHoursPerDay()
getDaysPerWeek
protected int getDaysPerWeek()
getTotalIssuesCount
public Long getTotalIssuesCount(Map countMap)
getTotalWorkload
public Long getTotalWorkload(Map workloadMap)
getProjectName
public String getProjectName(String pid)
Copyright © 2002-2009 Atlassian. All Rights Reserved.