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 |
VersionWorkloadReport
public VersionWorkloadReport(VersionManager versionManager,
SearchProvider searchProvider,
ConstantsManager constantsManager,
ApplicationProperties applicationProperties,
IssueTypeSchemeManager issueTypeSchemeManager,
JiraDurationUtils jiraDurationUtils,
UserManager userManager)
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
loadIssueTypes
protected List<IssueType> loadIssueTypes(Project project)
- Returns a collection of
IssueType
's associated with the
project.
- Parameters:
project
- currently selected Project
- Returns:
- Collection of
IssueType
's
calculateSummaryTotals
protected void calculateSummaryTotals(Collection<Issue> issues)
getIssuesByType
public Collection getIssuesByType(String user,
String typeId)
getDisplayableIssues
public Collection<Issue> getDisplayableIssues(String user,
String typeId)
getRemainingTime
public String getRemainingTime(String assignee)
getIssueTypeTotal
public String getIssueTypeTotal(String issueType)
getNiceTimeEstimateDuration
public String getNiceTimeEstimateDuration(Issue issue)
getAssigneeFullName
public String getAssigneeFullName(String username)
Copyright © 2002-2012 Atlassian. All Rights Reserved.