|
||||||||||
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)
|
Method Summary | |
---|---|
java.lang.String |
formatPrettyDuration(java.lang.Long v)
this formatting function is shared by the full view for navigator as well as view issue. |
java.lang.String |
generateReportHtml(ProjectActionSupport action,
java.util.Map reqParams)
Generate the report's HTML - usually from the Velocity resource named "html". |
protected int |
getDaysPerWeek()
|
protected int |
getHoursPerDay()
|
java.lang.String |
getProjectName(java.lang.String pid)
|
java.lang.Long |
getTotalIssuesCount(java.util.Map countMap)
|
java.lang.Long |
getTotalWorkload(java.util.Map workloadMap)
|
java.util.List |
initAssignedIssues(com.opensymphony.user.User remoteUser,
com.opensymphony.user.User developer)
Retrieves the list of the issues that are currently assigned to the specified developer issue must be unresolved |
java.util.Map |
initCountMap(java.util.List assignedIssues)
|
java.util.Map |
initWorkloadMap(java.util.List assignedIssues)
|
boolean |
showReport()
Whether or not to show this report in the interface. |
void |
validate(ProjectActionSupport action,
java.util.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, 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)
Method Detail |
---|
public boolean showReport()
AbstractReport
showReport
in interface Report
showReport
in class AbstractReport
public void validate(ProjectActionSupport action, java.util.Map params)
Report
Any errors should be added to the action errors.
validate
in interface Report
validate
in class AbstractReport
public java.lang.String generateReportHtml(ProjectActionSupport action, java.util.Map reqParams) throws java.lang.Exception
Report
java.lang.Exception
public java.lang.String formatPrettyDuration(java.lang.Long v)
v
- duration in seconds
protected int getHoursPerDay()
protected int getDaysPerWeek()
public java.util.List initAssignedIssues(com.opensymphony.user.User remoteUser, com.opensymphony.user.User developer) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public java.util.Map initCountMap(java.util.List assignedIssues) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public java.util.Map initWorkloadMap(java.util.List assignedIssues) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public java.lang.Long getTotalIssuesCount(java.util.Map countMap) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public java.lang.Long getTotalWorkload(java.util.Map workloadMap) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public java.lang.String getProjectName(java.lang.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 |