public final class GreenHopperField extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DATE_TIME_FORMAT |
static String |
NO_DATE |
| Modifier and Type | Method and Description |
|---|---|
static org.joda.time.DateTime |
getDateTime(Object dt)
Gets a date-time from the given object.
|
static EpicStats |
getEpicStats(Object es)
Gets an epic stats object from the given object.
|
static EstimateStatistic |
getEstimateStatistic(Object es)
Gets an estimate statistic object from the given object.
|
static EstimateSum |
getEstimateSum(Object es)
Gets an estimate sum object from the given object.
|
static List<Integer> |
getIntegerArray(Object ia)
Gets a list of integers from the given object.
|
static <T extends GreenHopperResource> |
getResource(Class<T> type,
Object r,
RestClient restclient)
Gets a GreenHopper resource from the given object.
|
static <T extends GreenHopperResource> |
getResourceArray(Class<T> type,
Object ra,
RestClient restclient)
Gets a list of GreenHopper resources from the given object.
|
static List<String> |
getStringArray(Object ia)
Gets a list of strings from the given object.
|
public static final String DATE_TIME_FORMAT
public static final String NO_DATE
public static org.joda.time.DateTime getDateTime(Object dt)
dt - Date-Time as a stringpublic static EpicStats getEpicStats(Object es)
es - a JSONObject instancepublic static EstimateStatistic getEstimateStatistic(Object es)
es - a JSONObject instancepublic static EstimateSum getEstimateSum(Object es)
es - a JSONObject instancepublic static List<Integer> getIntegerArray(Object ia)
ia - a JSONArray instancepublic static <T extends GreenHopperResource> T getResource(Class<T> type, Object r, RestClient restclient)
type - Resource data typer - a JSONObject instancerestclient - REST client instancepublic static <T extends GreenHopperResource> List<T> getResourceArray(Class<T> type, Object ra, RestClient restclient)
type - Resource data typera - a JSONArray instancerestclient - REST client instanceCopyright © 2022. All rights reserved.