com.atlassian.jira.issue.fields.rest.json.beans
Class TimeTrackingJsonBean

java.lang.Object
  extended by com.atlassian.jira.issue.fields.rest.json.beans.TimeTrackingJsonBean

public class TimeTrackingJsonBean
extends Object

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

Since:
v5.0

Constructor Summary
TimeTrackingJsonBean()
           
 
Method Summary
 String getOriginalEstimate()
           
 String getRemainingEstimate()
           
 String getTimeSpent()
           
 void setOriginalEstimate(String originalEstimate)
           
 void setRemainingEstimate(String remainingEstimate)
           
 void setTimeSpent(String timeSpent)
           
static TimeTrackingJsonBean shortBean(String originalEstimate, String estimate, String timeSpent, Long originalEstimateSeconds, Long estimateSeconds, Long timeSpentSeconds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeTrackingJsonBean

public TimeTrackingJsonBean()
Method Detail

getOriginalEstimate

public String getOriginalEstimate()

setOriginalEstimate

public void setOriginalEstimate(String originalEstimate)

getRemainingEstimate

public String getRemainingEstimate()

setRemainingEstimate

public void setRemainingEstimate(String remainingEstimate)

getTimeSpent

public String getTimeSpent()

setTimeSpent

public void setTimeSpent(String timeSpent)

shortBean

public static TimeTrackingJsonBean shortBean(String originalEstimate,
                                             String estimate,
                                             String timeSpent,
                                             Long originalEstimateSeconds,
                                             Long estimateSeconds,
                                             Long timeSpentSeconds)
Returns:
null if the input is null


Copyright © 2002-2012 Atlassian. All Rights Reserved.