public class ScheduledTaskDurationInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
AVERAGE |
protected long |
avg |
protected long |
last |
static String |
LAST |
protected long |
max |
static String |
MAX |
protected long |
min |
static String |
MIN |
| Constructor and Description |
|---|
ScheduledTaskDurationInfo(org.json.JSONObject jsonObject) |
ScheduledTaskDurationInfo(long last,
long avg,
long min,
long max) |
public static final String LAST
public static final String AVERAGE
public static final String MIN
public static final String MAX
protected long last
protected long avg
protected long min
protected long max
public ScheduledTaskDurationInfo(long last,
long avg,
long min,
long max)
public ScheduledTaskDurationInfo(org.json.JSONObject jsonObject)
throws org.json.JSONException
org.json.JSONExceptionpublic long getLast()
public void setLast(long last)
last - the last to setpublic long getAvg()
public void setAvg(long avg)
avg - the avg to setpublic long getMin()
public void setMin(long min)
min - the min to setpublic long getMax()
public void setMax(long max)
max - the max to setpublic org.json.JSONObject toJSON()
throws org.json.JSONException
org.json.JSONExceptionCopyright © 2016. All Rights Reserved.