@PublicApi public class

JsonType

extends Object
java.lang.Object
   ↳ com.atlassian.jira.issue.fields.rest.json.JsonType

@PublicApi

This class is designed for plugins to consume (call its methods).

Clients of @PublicApi can expect that programs compiled against a given version will remain binary compatible with later versions of the @PublicApi as per each product's API policy as long as the client does not implement/extend @PublicApi interfaces or classes (refer to each product's API policy for the exact guarantee---usually binary compatibility is guaranteed at least across minor versions).

Note: since @PublicApi interfaces and classes are not designed to be implemented or extended by clients, we may perform certain types of binary-incompatible changes to these classes and interfaces, but these will not affect well-behaved clients that do not extend/implement these types (in general, only classes and interfaces annotated with @PublicSpi are safe to extend/implement).

Class Overview

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

Summary

Constants
String ANY_TYPE
String ARRAY_TYPE
String ATTACHMENT_TYPE
String BOOLEAN_TYPE
String COMMENT_TYPE
String COMPONENT_TYPE
String DATETIME_TYPE
String DATE_TYPE
String GROUP_TYPE
String ISSUELINKS_TYPE
String ISSUETYPE_TYPE
String NUMBER_TYPE
String OPTION_TYPE
String PRIORITY_TYPE
String PROGRESS_TYPE
String PROJECT_TYPE
String RESOLUTION_TYPE
String SECURITY_LEVEL_TYPE
String STATUS_TYPE
String STRING_TYPE
String TIME_TRACKING_TYPE
String USER_TYPE
String VERSION_TYPE
String VOTES_TYPE
String WATCHES_TYPE
String WORKLOG_TYPE
Public Constructors
JsonType(String type, String items, String system, String custom, Long customId)
Public Methods
String getCustom()
Long getCustomId()
String getItems()
String getSystem()
String getType()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String ANY_TYPE

Constant Value: "any"

public static final String ARRAY_TYPE

Constant Value: "array"

public static final String ATTACHMENT_TYPE

Constant Value: "attachment"

public static final String BOOLEAN_TYPE

Constant Value: "boolean"

public static final String COMMENT_TYPE

Constant Value: "comment"

public static final String COMPONENT_TYPE

Constant Value: "component"

public static final String DATETIME_TYPE

Constant Value: "datetime"

public static final String DATE_TYPE

Constant Value: "date"

public static final String GROUP_TYPE

Constant Value: "group"

public static final String ISSUELINKS_TYPE

Constant Value: "issuelinks"

public static final String ISSUETYPE_TYPE

Constant Value: "issuetype"

public static final String NUMBER_TYPE

Constant Value: "number"

public static final String OPTION_TYPE

Constant Value: "option"

public static final String PRIORITY_TYPE

Constant Value: "priority"

public static final String PROGRESS_TYPE

Constant Value: "progress"

public static final String PROJECT_TYPE

Constant Value: "project"

public static final String RESOLUTION_TYPE

Constant Value: "resolution"

public static final String SECURITY_LEVEL_TYPE

Constant Value: "securitylevel"

public static final String STATUS_TYPE

Constant Value: "status"

public static final String STRING_TYPE

Constant Value: "string"

public static final String TIME_TRACKING_TYPE

Constant Value: "timetracking"

public static final String USER_TYPE

Constant Value: "user"

public static final String VERSION_TYPE

Constant Value: "version"

public static final String VOTES_TYPE

Constant Value: "votes"

public static final String WATCHES_TYPE

Constant Value: "watches"

public static final String WORKLOG_TYPE

Constant Value: "worklog"

Public Constructors

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

Public Methods

public String getCustom ()

public Long getCustomId ()

public String getItems ()

public String getSystem ()

public String getType ()