com.atlassian.jira.rest.v2.issue
Class TimeTrackingBean

java.lang.Object
  extended by com.atlassian.jira.rest.v2.issue.TimeTrackingBean

public class TimeTrackingBean
extends Object

This bean holds the time tracking information that is sent back to clients of the REST API.

Since:
v4.2

Constructor Summary
TimeTrackingBean(Long originalEstimateSeconds, Long estimateSeconds, Long timeSpentSeconds)
          Creates a new TimeTrackingBean.
 
Method Summary
 Long getEstimateMinutes()
           
 Long getOriginalEstimateMinutes()
           
 Long getTimeSpentMinutes()
           
 boolean hasValues()
          Returns true iff at least one of this bean's properties is non-null.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeTrackingBean

public TimeTrackingBean(Long originalEstimateSeconds,
                        Long estimateSeconds,
                        Long timeSpentSeconds)
Creates a new TimeTrackingBean.

Parameters:
originalEstimateSeconds - the original estimateMinutes
estimateSeconds - the remaining estimateMinutes
timeSpentSeconds - the time spent
Method Detail

hasValues

public boolean hasValues()
Returns true iff at least one of this bean's properties is non-null.

Returns:
a boolean indicating whether at least one of this bean's properties is non-null

getOriginalEstimateMinutes

public Long getOriginalEstimateMinutes()

getEstimateMinutes

public Long getEstimateMinutes()

getTimeSpentMinutes

public Long getTimeSpentMinutes()


Copyright © 2002-2011 Atlassian. All Rights Reserved.