com.atlassian.jira.issue.fields.rest.json
Class JsonType

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

@PublicApi
public class JsonType
extends Object

Describes the format of the data that is returned in the JSON representation of a field. This encapsualtes a subset of JSON Schema.

Since:
v5.0

Field Summary
static String ANY_TYPE
           
static String ARRAY_TYPE
           
static String ATTACHMENT_TYPE
           
static String BOOLEAN_TYPE
           
static String COMMENT_TYPE
           
static String COMPONENT_TYPE
           
static String DATE_TYPE
           
static String DATETIME_TYPE
           
static String GROUP_TYPE
           
static String ISSUELINKS_TYPE
           
static String ISSUETYPE_TYPE
           
static String NUMBER_TYPE
           
static String OPTION_TYPE
           
static String PRIORITY_TYPE
           
static String PROGRESS_TYPE
           
static String PROJECT_TYPE
           
static String RESOLUTION_TYPE
           
static String SECURITY_LEVEL_TYPE
           
static String STATUS_TYPE
           
static String STRING_TYPE
           
static String TIME_TRACKING_TYPE
           
static String USER_TYPE
           
static String VERSION_TYPE
           
static String VOTES_TYPE
           
static String WATCHES_TYPE
           
static String WORKLOG_TYPE
           
 
Constructor Summary
JsonType(String type, String items, String system, String custom, Long customId)
           
 
Method Summary
 String getCustom()
           
 Long getCustomId()
           
 String getItems()
           
 String getSystem()
           
 String getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STRING_TYPE

public static final String STRING_TYPE
See Also:
Constant Field Values

NUMBER_TYPE

public static final String NUMBER_TYPE
See Also:
Constant Field Values

BOOLEAN_TYPE

public static final String BOOLEAN_TYPE
See Also:
Constant Field Values

DATE_TYPE

public static final String DATE_TYPE
See Also:
Constant Field Values

DATETIME_TYPE

public static final String DATETIME_TYPE
See Also:
Constant Field Values

ARRAY_TYPE

public static final String ARRAY_TYPE
See Also:
Constant Field Values

OPTION_TYPE

public static final String OPTION_TYPE
See Also:
Constant Field Values

ANY_TYPE

public static final String ANY_TYPE
See Also:
Constant Field Values

COMMENT_TYPE

public static final String COMMENT_TYPE
See Also:
Constant Field Values

RESOLUTION_TYPE

public static final String RESOLUTION_TYPE
See Also:
Constant Field Values

USER_TYPE

public static final String USER_TYPE
See Also:
Constant Field Values

GROUP_TYPE

public static final String GROUP_TYPE
See Also:
Constant Field Values

VERSION_TYPE

public static final String VERSION_TYPE
See Also:
Constant Field Values

VOTES_TYPE

public static final String VOTES_TYPE
See Also:
Constant Field Values

WATCHES_TYPE

public static final String WATCHES_TYPE
See Also:
Constant Field Values

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

ATTACHMENT_TYPE

public static final String ATTACHMENT_TYPE
See Also:
Constant Field Values

ISSUELINKS_TYPE

public static final String ISSUELINKS_TYPE
See Also:
Constant Field Values

PRIORITY_TYPE

public static final String PRIORITY_TYPE
See Also:
Constant Field Values

PROGRESS_TYPE

public static final String PROGRESS_TYPE
See Also:
Constant Field Values

STATUS_TYPE

public static final String STATUS_TYPE
See Also:
Constant Field Values

PROJECT_TYPE

public static final String PROJECT_TYPE
See Also:
Constant Field Values

ISSUETYPE_TYPE

public static final String ISSUETYPE_TYPE
See Also:
Constant Field Values

SECURITY_LEVEL_TYPE

public static final String SECURITY_LEVEL_TYPE
See Also:
Constant Field Values

WORKLOG_TYPE

public static final String WORKLOG_TYPE
See Also:
Constant Field Values

TIME_TRACKING_TYPE

public static final String TIME_TRACKING_TYPE
See Also:
Constant Field Values
Constructor Detail

JsonType

public JsonType(String type,
                String items,
                String system,
                String custom,
                Long customId)
Method Detail

getType

public String getType()

getItems

public String getItems()

getSystem

public String getSystem()

getCustom

public String getCustom()

getCustomId

public Long getCustomId()


Copyright © 2002-2012 Atlassian. All Rights Reserved.