com.pyxis.greenhopper.jira.boards.stats
Class AbstractSummary

java.lang.Object
  extended by com.pyxis.greenhopper.jira.boards.stats.AbstractSummary
All Implemented Interfaces:
Summary
Direct Known Subclasses:
AggregateSummary, BoardSummary

public abstract class AbstractSummary
extends java.lang.Object
implements Summary


Field Summary
protected  com.atlassian.query.Query query
           
protected  com.atlassian.crowd.embedded.api.User user
           
 
Fields inherited from interface com.pyxis.greenhopper.jira.boards.stats.Summary
EMPTY
 
Constructor Summary
AbstractSummary(com.atlassian.query.Query query, java.util.Set<WatchedField> watchedFields, com.atlassian.crowd.embedded.api.User user)
           
 
Method Summary
protected  boolean collectTimeTracking()
           
 int getDone()
           
 int getDoneRatio()
           
 int getInProgress()
           
 int getInProgressRatio()
           
 java.util.Map<java.lang.String,java.lang.Integer> getIssueTypesStats()
           
protected abstract  ProgressQueryBuilder getProgressBuilder()
           
 java.lang.String getRenderedWatchedValue(WatchedField watchedField)
           
 int getResolved()
           
protected  java.util.Map<java.lang.String,java.lang.Object> getStatistics()
           
 int getToDo()
           
 int getTodoRatio()
           
 java.lang.String getTotalEstimate()
           
 int getTotalIssues()
           
 int getTotalOpenIssue(java.util.Date before)
           
 java.lang.String getTotalRemaining()
           
 java.lang.Double getTotalRemainingValue()
           
 java.lang.String getTotalSpent()
           
 int getUnresolved()
           
 java.lang.Double getWatchedValue(WatchedField watchedField)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

query

protected com.atlassian.query.Query query

user

protected com.atlassian.crowd.embedded.api.User user
Constructor Detail

AbstractSummary

public AbstractSummary(com.atlassian.query.Query query,
                       java.util.Set<WatchedField> watchedFields,
                       com.atlassian.crowd.embedded.api.User user)
Method Detail

getTotalRemaining

public java.lang.String getTotalRemaining()
Specified by:
getTotalRemaining in interface Summary

getTotalRemainingValue

public java.lang.Double getTotalRemainingValue()
Specified by:
getTotalRemainingValue in interface Summary

getTotalEstimate

public java.lang.String getTotalEstimate()
Specified by:
getTotalEstimate in interface Summary

getTotalSpent

public java.lang.String getTotalSpent()
Specified by:
getTotalSpent in interface Summary

getWatchedValue

public java.lang.Double getWatchedValue(WatchedField watchedField)
Specified by:
getWatchedValue in interface Summary

getIssueTypesStats

public java.util.Map<java.lang.String,java.lang.Integer> getIssueTypesStats()
Specified by:
getIssueTypesStats in interface Summary

getToDo

public int getToDo()
Specified by:
getToDo in interface Summary

getDone

public int getDone()
Specified by:
getDone in interface Summary

getInProgress

public int getInProgress()
Specified by:
getInProgress in interface Summary

getResolved

public int getResolved()
Specified by:
getResolved in interface Summary

getTodoRatio

public int getTodoRatio()
Specified by:
getTodoRatio in interface Summary

getInProgressRatio

public int getInProgressRatio()
Specified by:
getInProgressRatio in interface Summary

getDoneRatio

public int getDoneRatio()
Specified by:
getDoneRatio in interface Summary

getRenderedWatchedValue

public java.lang.String getRenderedWatchedValue(WatchedField watchedField)
Specified by:
getRenderedWatchedValue in interface Summary

getTotalIssues

public int getTotalIssues()
Specified by:
getTotalIssues in interface Summary

getUnresolved

public int getUnresolved()
Specified by:
getUnresolved in interface Summary

getTotalOpenIssue

public int getTotalOpenIssue(java.util.Date before)
Specified by:
getTotalOpenIssue in interface Summary

getStatistics

protected java.util.Map<java.lang.String,java.lang.Object> getStatistics()

getProgressBuilder

protected abstract ProgressQueryBuilder getProgressBuilder()

collectTimeTracking

protected boolean collectTimeTracking()


Copyright © 2007-2014 Atlassian. All Rights Reserved.