|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.plugin.report.impl.AbstractReport com.atlassian.jira.plugin.report.impl.DeveloperWorkloadReport
public class DeveloperWorkloadReport
Field Summary |
---|
Fields inherited from class com.atlassian.jira.plugin.report.impl.AbstractReport |
---|
descriptor |
Constructor Summary | |
---|---|
DeveloperWorkloadReport(ProjectManager projectManager,
ApplicationProperties applicationProperties,
JiraDurationUtils jiraDurationUtils)
|
Method Summary | |
---|---|
String |
formatPrettyDuration(Long v)
this formatting function is shared by the full view for navigator as well as view issue. |
String |
generateReportHtml(ProjectActionSupport action,
Map reqParams)
Generate the report's HTML - usually from the Velocity resource named "html". |
protected int |
getDaysPerWeek()
|
protected int |
getHoursPerDay()
|
String |
getProjectName(String pid)
|
Long |
getTotalIssuesCount(Map countMap)
|
Long |
getTotalWorkload(Map workloadMap)
|
List |
initAssignedIssues(User remoteUser,
User developer)
Retrieves the list of the issues that are currently assigned to the specified developer issue must be unresolved. |
Map |
initCountMap(List assignedIssues)
|
Map |
initWorkloadMap(List assignedIssues)
|
boolean |
showReport()
Whether or not to show this report in the interface. |
void |
validate(ProjectActionSupport action,
Map params)
Validate the parameters passed to this report from the UI. |
Methods inherited from class com.atlassian.jira.plugin.report.impl.AbstractReport |
---|
generateReportExcel, getDescriptor, getIssueConstant, init, isExcelViewSupported |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeveloperWorkloadReport(ProjectManager projectManager, ApplicationProperties applicationProperties, JiraDurationUtils jiraDurationUtils)
Method Detail |
---|
public boolean showReport()
AbstractReport
showReport
in interface Report
showReport
in class AbstractReport
public void validate(ProjectActionSupport action, Map params)
Report
Any errors should be added to the action errors.
validate
in interface Report
validate
in class AbstractReport
public String generateReportHtml(ProjectActionSupport action, Map reqParams) throws Exception
Report
Exception
public String formatPrettyDuration(Long v)
v
- duration in seconds
protected int getHoursPerDay()
protected int getDaysPerWeek()
public List initAssignedIssues(User remoteUser, User developer)
remoteUser
- current userdeveloper
- user to find the assigned issues for
public Map initCountMap(List assignedIssues) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public Map initWorkloadMap(List assignedIssues) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public Long getTotalIssuesCount(Map countMap) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public Long getTotalWorkload(Map workloadMap) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public String getProjectName(String pid) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |