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

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

public class ProgressJsonBean
extends Object

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

Since:
v5.0

Constructor Summary
ProgressJsonBean()
           
 
Method Summary
 Long getPercent()
           
 Long getProgress()
           
 Long getTotal()
           
 void setPercent(Long percent)
           
 void setProgress(Long progress)
           
 void setTotal(Long total)
           
static ProgressJsonBean shortBean(Long progress, Long total, Long percent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProgressJsonBean

public ProgressJsonBean()
Method Detail

getProgress

public Long getProgress()

setProgress

public void setProgress(Long progress)

getTotal

public Long getTotal()

setTotal

public void setTotal(Long total)

getPercent

public Long getPercent()

setPercent

public void setPercent(Long percent)

shortBean

public static ProgressJsonBean shortBean(Long progress,
                                         Long total,
                                         Long percent)
Returns:
null if the input is null


Copyright © 2002-2013 Atlassian. All Rights Reserved.