com.atlassian.jira.rest.v2.issue
Class TimeTrackingBean
java.lang.Object
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimeTrackingBean
public TimeTrackingBean(Long originalEstimateSeconds,
Long estimateSeconds,
Long timeSpentSeconds)
- Creates a new TimeTrackingBean.
- Parameters:
originalEstimateSeconds
- the original estimateMinutesestimateSeconds
- the remaining estimateMinutestimeSpentSeconds
- the time spent
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.