Package com.atlassian.jira.rest.v2.issue
Class TimeTrackingBean
java.lang.Object
com.atlassian.jira.rest.v2.issue.TimeTrackingBean
This bean holds the time tracking information that is sent back to clients of the REST API.
This is for documentation only
- Since:
- v4.2
-
Constructor Summary
ConstructorsConstructorDescriptionTimeTrackingBean(Long originalEstimateSeconds, Long estimateSeconds, Long timeSpentSeconds) Creates a new TimeTrackingBean. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true iff at least one of this bean's properties is non-null.voidsetOriginalEstimate(String originalEstimate) voidsetOriginalEstimateSeconds(Long originalEstimateSeconds) voidsetRemainingEstimate(String remainingEstimate) voidsetRemainingEstimateSeconds(Long remainingEstimateSeconds) voidsetTimeSpent(String timeSpent) voidsetTimeSpentSeconds(Long timeSpentSeconds)
-
Constructor Details
-
TimeTrackingBean
Creates a new TimeTrackingBean.- Parameters:
originalEstimateSeconds- the original estimateMinutesestimateSeconds- the remaining estimateMinutestimeSpentSeconds- the time spent
-
-
Method Details
-
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
-
getOriginalEstimate
-
setOriginalEstimate
-
getRemainingEstimate
-
setRemainingEstimate
-
getTimeSpent
-
setTimeSpent
-
getOriginalEstimateSeconds
-
setOriginalEstimateSeconds
-
getRemainingEstimateSeconds
-
setRemainingEstimateSeconds
-
getTimeSpentSeconds
-
setTimeSpentSeconds
-