com.atlassian.jira.web.bean
Class TimeTrackingGraphBean

java.lang.Object
  extended by com.atlassian.jira.web.bean.TimeTrackingGraphBean

public class TimeTrackingGraphBean
extends Object


Constructor Summary
TimeTrackingGraphBean(I18nBean i18nBean, Long timeSpent, String timeSpentStr, Long originalEstimate, String originalEstimateStr, Long remainingEstimate, String remainingEstimateStr)
          Bean that holds three PercentageGraphModel objects, one for Original Estimate, one for Remaining Estimate and one for Time Spent.
 
Method Summary
 PercentageGraphModel getOriginalEstimateGraph()
           
 String getOriginalEstimateStr()
           
 PercentageGraphModel getOriginalProgressGraph()
           
 PercentageGraphModel getProgressGraph()
           
 PercentageGraphModel getRemainingEstimateGraph()
           
 String getRemainingEstimateStr()
           
 PercentageGraphModel getTimeSpentGraph()
           
 String getTimeSpentStr()
           
 boolean hasData()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeTrackingGraphBean

public TimeTrackingGraphBean(I18nBean i18nBean,
                             Long timeSpent,
                             String timeSpentStr,
                             Long originalEstimate,
                             String originalEstimateStr,
                             Long remainingEstimate,
                             String remainingEstimateStr)
Bean that holds three PercentageGraphModel objects, one for Original Estimate, one for Remaining Estimate and one for Time Spent.

Parameters:
i18nBean - I18nBean used for displaying text.
timeSpent - How much time has been spent
timeSpentStr - The string representation of the time spent - pretty format.
originalEstimate - How much time was originally estimated
originalEstimateStr - The string representation of the original estimate - pretty format.
remainingEstimate - How much time remaining
remainingEstimateStr - The string representation of the remaining estimate - pretty format.
Method Detail

hasData

public boolean hasData()

getTimeSpentGraph

public PercentageGraphModel getTimeSpentGraph()

getOriginalEstimateGraph

public PercentageGraphModel getOriginalEstimateGraph()

getRemainingEstimateGraph

public PercentageGraphModel getRemainingEstimateGraph()

getOriginalProgressGraph

public PercentageGraphModel getOriginalProgressGraph()

getProgressGraph

public PercentageGraphModel getProgressGraph()

getTimeSpentStr

public String getTimeSpentStr()

getOriginalEstimateStr

public String getOriginalEstimateStr()

getRemainingEstimateStr

public String getRemainingEstimateStr()


Copyright © 2002-2009 Atlassian. All Rights Reserved.