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
java.util.Map user2Issues
user2RemainingTime
java.util.Map user2RemainingTime
VersionWorkloadReport
public VersionWorkloadReport(VersionManager versionManager,
IssueManager issueManager,
ConstantsManager constantsManager,
ApplicationProperties applicationProperties)
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 java.lang.String generateReportHtml(ProjectActionSupport action,
java.util.Map reqParams)
throws java.lang.Exception
- Description copied from interface:
Report
- Generate the report's HTML - usually from the Velocity resource named "html".
- Throws:
java.lang.Exception
validate
public void validate(ProjectActionSupport action,
java.util.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 java.util.Collection loadIssues(com.opensymphony.user.User remoteUser,
java.lang.String versionId)
throws java.lang.Exception
- Throws:
java.lang.Exception
loadIssueTypes
public java.util.Collection loadIssueTypes()
sortUserIssues
public java.util.Map sortUserIssues(java.util.Collection issues)
throws java.lang.Exception
- Throws:
java.lang.Exception
sortUserTime
public java.util.Map sortUserTime(java.util.Collection issues)
throws java.lang.Exception
- Throws:
java.lang.Exception
getAssignees
public java.util.Collection getAssignees()
getIssuesByType
public java.util.Collection getIssuesByType(java.lang.String user,
java.lang.String type)
getTotalEstimate
public java.lang.String getTotalEstimate(java.util.List issues)
getRemainingTime
public java.lang.String getRemainingTime(java.lang.String assignee)
getNiceTimeDuration
public java.lang.String getNiceTimeDuration(org.ofbiz.core.entity.GenericValue issue,
java.lang.String field)
Copyright © 2002-2005 Atlassian. All Rights Reserved.