com.atlassian.jira.plugin.report.impl
Class VersionWorkloadReport
java.lang.Object
com.atlassian.jira.plugin.report.impl.AbstractReport
com.atlassian.jira.plugin.report.impl.VersionWorkloadReport
- All Implemented Interfaces:
- Report
- public class VersionWorkloadReport
- extends AbstractReport
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
user2Issues
Map user2Issues
user2RemainingTime
Map user2RemainingTime
userSummaryTotals
Map userSummaryTotals
issueTypeTotals
Map issueTypeTotals
grandTotal
long grandTotal
VersionWorkloadReport
public VersionWorkloadReport(VersionManager versionManager,
IssueManager issueManager,
ConstantsManager constantsManager,
ApplicationProperties applicationProperties,
IssueTypeSchemeManager issueTypeSchemeManager)
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
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
getTotalTimeForUserByIssueType
public String getTotalTimeForUserByIssueType(String user,
String type)
getGrandTotal
public String getGrandTotal()
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
loadIssues
public Collection loadIssues(User remoteUser,
String versionId)
throws Exception
- Throws:
Exception
loadIssueTypes
public Collection loadIssueTypes(org.ofbiz.core.entity.GenericValue projectGV)
calculateSummaryTotals
public void calculateSummaryTotals(Collection issues)
getAssignees
public Collection getAssignees()
getIssuesByType
public Collection getIssuesByType(String user,
String type)
getRemainingTime
public String getRemainingTime(String assignee)
getIssueTypeTotal
public String getIssueTypeTotal(String issueType)
getNiceTimeDuration
public String getNiceTimeDuration(org.ofbiz.core.entity.GenericValue issue,
String field)
Copyright © 2002-2006 Atlassian. All Rights Reserved.