public final class RedmineJSONParser
extends java.lang.Object
| Constructor and Description |
|---|
RedmineJSONParser() |
| Modifier and Type | Method and Description |
|---|---|
static org.json.JSONObject |
getResponse(java.lang.String body) |
static org.json.JSONObject |
getResponseSingleObject(java.lang.String body,
java.lang.String key) |
static Attachment |
parseAttachments(org.json.JSONObject content) |
static IssueCategory |
parseCategory(org.json.JSONObject content) |
static Changeset |
parseChangeset(org.json.JSONObject content) |
static CustomField |
parseCustomField(org.json.JSONObject content) |
static CustomFieldDefinition |
parseCustomFieldDefinition(org.json.JSONObject content) |
static java.util.List<java.lang.String> |
parseErrors(java.lang.String responseBody) |
static Group |
parseGroup(org.json.JSONObject content) |
static Issue |
parseIssue(org.json.JSONObject content) |
static IssuePriority |
parseIssuePriority(org.json.JSONObject content) |
static Journal |
parseJournal(org.json.JSONObject content) |
static JournalDetail |
parseJournalDetail(org.json.JSONObject content) |
static Membership |
parseMembership(org.json.JSONObject content) |
static Project |
parseMinimalProject(org.json.JSONObject content)
Parses a "minimal" version of a project.
|
static News |
parseNews(org.json.JSONObject object) |
static Project |
parseProject(org.json.JSONObject content)
Parses a project.
|
static IssueRelation |
parseRelation(org.json.JSONObject content) |
static Role |
parseRole(org.json.JSONObject content) |
static SavedQuery |
parseSavedQuery(org.json.JSONObject object) |
static IssueStatus |
parseStatus(org.json.JSONObject object)
Parses a status.
|
static TimeEntry |
parseTimeEntry(org.json.JSONObject object) |
static TimeEntryActivity |
parseTimeEntryActivity(org.json.JSONObject content) |
static Tracker |
parseTracker(org.json.JSONObject object)
Parses a tracker.
|
static User |
parseUser(org.json.JSONObject content) |
static Version |
parseVersion(org.json.JSONObject content) |
static Watcher |
parseWatcher(org.json.JSONObject content) |
static WikiPage |
parseWikiPage(org.json.JSONObject object) |
static WikiPageDetail |
parseWikiPageDetail(org.json.JSONObject object) |
public static Tracker parseTracker(org.json.JSONObject object) throws org.json.JSONException
object - object to parse.org.json.JSONExceptionpublic static IssueStatus parseStatus(org.json.JSONObject object) throws org.json.JSONException
object - object to parse.org.json.JSONExceptionpublic static SavedQuery parseSavedQuery(org.json.JSONObject object) throws org.json.JSONException
org.json.JSONExceptionpublic static News parseNews(org.json.JSONObject object) throws org.json.JSONException
org.json.JSONExceptionpublic static TimeEntry parseTimeEntry(org.json.JSONObject object) throws org.json.JSONException
org.json.JSONExceptionpublic static Project parseMinimalProject(org.json.JSONObject content) throws org.json.JSONException
content - content to parse.org.json.JSONExceptionpublic static Project parseProject(org.json.JSONObject content) throws org.json.JSONException
content - content to parse.org.json.JSONExceptionpublic static Issue parseIssue(org.json.JSONObject content) throws org.json.JSONException
org.json.JSONExceptionpublic static IssueCategory parseCategory(org.json.JSONObject content) throws org.json.JSONException
org.json.JSONExceptionpublic static Version parseVersion(org.json.JSONObject content) throws org.json.JSONException
org.json.JSONExceptionpublic static IssueRelation parseRelation(org.json.JSONObject content) throws org.json.JSONException
org.json.JSONExceptionpublic static Attachment parseAttachments(org.json.JSONObject content) throws org.json.JSONException
org.json.JSONExceptionpublic static CustomField parseCustomField(org.json.JSONObject content) throws org.json.JSONException
org.json.JSONExceptionpublic static Journal parseJournal(org.json.JSONObject content) throws org.json.JSONException
org.json.JSONExceptionpublic static JournalDetail parseJournalDetail(org.json.JSONObject content) throws org.json.JSONException
org.json.JSONExceptionpublic static Changeset parseChangeset(org.json.JSONObject content) throws org.json.JSONException
org.json.JSONExceptionpublic static User parseUser(org.json.JSONObject content) throws org.json.JSONException
org.json.JSONExceptionpublic static Group parseGroup(org.json.JSONObject content) throws org.json.JSONException
org.json.JSONExceptionpublic static Role parseRole(org.json.JSONObject content) throws org.json.JSONException
org.json.JSONExceptionpublic static Membership parseMembership(org.json.JSONObject content) throws org.json.JSONException
org.json.JSONExceptionpublic static IssuePriority parseIssuePriority(org.json.JSONObject content) throws org.json.JSONException
org.json.JSONExceptionpublic static TimeEntryActivity parseTimeEntryActivity(org.json.JSONObject content) throws org.json.JSONException
org.json.JSONExceptionpublic static Watcher parseWatcher(org.json.JSONObject content) throws org.json.JSONException
org.json.JSONExceptionpublic static WikiPage parseWikiPage(org.json.JSONObject object) throws org.json.JSONException
org.json.JSONExceptionpublic static WikiPageDetail parseWikiPageDetail(org.json.JSONObject object) throws org.json.JSONException
org.json.JSONExceptionpublic static java.util.List<java.lang.String> parseErrors(java.lang.String responseBody)
throws org.json.JSONException
org.json.JSONExceptionpublic static org.json.JSONObject getResponseSingleObject(java.lang.String body,
java.lang.String key)
throws org.json.JSONException
org.json.JSONExceptionpublic static org.json.JSONObject getResponse(java.lang.String body)
throws org.json.JSONException
org.json.JSONExceptionpublic static CustomFieldDefinition parseCustomFieldDefinition(org.json.JSONObject content) throws org.json.JSONException
org.json.JSONException