com.atlassian.jira.rest.client.api.domain
Enum IssueFieldId

java.lang.Object
  extended by java.lang.Enum<IssueFieldId>
      extended by com.atlassian.jira.rest.client.api.domain.IssueFieldId
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IssueFieldId>

public enum IssueFieldId
extends java.lang.Enum<IssueFieldId>

Keeps field id that may be used to refer to field in fields maps.


Enum Constant Summary
AFFECTS_VERSIONS_FIELD
           
ASSIGNEE_FIELD
           
ATTACHMENT_FIELD
           
COMMENT_FIELD
           
COMPONENTS_FIELD
           
CREATED_FIELD
           
DESCRIPTION_FIELD
           
DUE_DATE_FIELD
           
FIX_VERSIONS_FIELD
           
ISSUE_TYPE_FIELD
           
LABELS_FIELD
           
LINKS_FIELD
           
LINKS_PRE_5_0_FIELD
           
PRIORITY_FIELD
           
PROJECT_FIELD
           
REPORTER_FIELD
           
RESOLUTION_FIELD
           
STATUS_FIELD
           
SUBTASKS_FIELD
           
SUMMARY_FIELD
           
TIMETRACKING_FIELD
           
TRANSITIONS_FIELD
           
UPDATED_FIELD
           
VOTES_FIELD
           
WATCHER_FIELD
           
WATCHER_PRE_5_0_FIELD
           
WORKLOG_FIELD
           
WORKLOGS_FIELD
           
 
Field Summary
 java.lang.String id
           
static com.google.common.base.Function<IssueFieldId,java.lang.String> TRANSFORM_TO_ID_FUNCTION
           
 
Method Summary
static java.lang.Iterable<java.lang.String> ids()
          Returns all fields ids.
static IssueFieldId valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IssueFieldId[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

AFFECTS_VERSIONS_FIELD

public static final IssueFieldId AFFECTS_VERSIONS_FIELD

ASSIGNEE_FIELD

public static final IssueFieldId ASSIGNEE_FIELD

ATTACHMENT_FIELD

public static final IssueFieldId ATTACHMENT_FIELD

COMMENT_FIELD

public static final IssueFieldId COMMENT_FIELD

COMPONENTS_FIELD

public static final IssueFieldId COMPONENTS_FIELD

CREATED_FIELD

public static final IssueFieldId CREATED_FIELD

DESCRIPTION_FIELD

public static final IssueFieldId DESCRIPTION_FIELD

DUE_DATE_FIELD

public static final IssueFieldId DUE_DATE_FIELD

FIX_VERSIONS_FIELD

public static final IssueFieldId FIX_VERSIONS_FIELD

ISSUE_TYPE_FIELD

public static final IssueFieldId ISSUE_TYPE_FIELD

LABELS_FIELD

public static final IssueFieldId LABELS_FIELD

LINKS_FIELD

public static final IssueFieldId LINKS_FIELD

LINKS_PRE_5_0_FIELD

public static final IssueFieldId LINKS_PRE_5_0_FIELD

PRIORITY_FIELD

public static final IssueFieldId PRIORITY_FIELD

PROJECT_FIELD

public static final IssueFieldId PROJECT_FIELD

REPORTER_FIELD

public static final IssueFieldId REPORTER_FIELD

RESOLUTION_FIELD

public static final IssueFieldId RESOLUTION_FIELD

STATUS_FIELD

public static final IssueFieldId STATUS_FIELD

SUBTASKS_FIELD

public static final IssueFieldId SUBTASKS_FIELD

SUMMARY_FIELD

public static final IssueFieldId SUMMARY_FIELD

TIMETRACKING_FIELD

public static final IssueFieldId TIMETRACKING_FIELD

TRANSITIONS_FIELD

public static final IssueFieldId TRANSITIONS_FIELD

UPDATED_FIELD

public static final IssueFieldId UPDATED_FIELD

VOTES_FIELD

public static final IssueFieldId VOTES_FIELD

WATCHER_FIELD

public static final IssueFieldId WATCHER_FIELD

WATCHER_PRE_5_0_FIELD

public static final IssueFieldId WATCHER_PRE_5_0_FIELD

WORKLOG_FIELD

public static final IssueFieldId WORKLOG_FIELD

WORKLOGS_FIELD

public static final IssueFieldId WORKLOGS_FIELD
Field Detail

id

public final java.lang.String id

TRANSFORM_TO_ID_FUNCTION

public static final com.google.common.base.Function<IssueFieldId,java.lang.String> TRANSFORM_TO_ID_FUNCTION
Method Detail

values

public static IssueFieldId[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (IssueFieldId c : IssueFieldId.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static IssueFieldId valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

ids

public static java.lang.Iterable<java.lang.String> ids()
Returns all fields ids.

Returns:
List of string id of each field.


Copyright © 2014 Atlassian. All Rights Reserved.