com.atlassian.jira.issue.customfields
Enum CustomFieldTypeCategory

java.lang.Object
  extended by java.lang.Enum<CustomFieldTypeCategory>
      extended by com.atlassian.jira.issue.customfields.CustomFieldTypeCategory
All Implemented Interfaces:
Serializable, Comparable<CustomFieldTypeCategory>

public enum CustomFieldTypeCategory
extends Enum<CustomFieldTypeCategory>

A category for a custom field type.

Since:
v6.1

Enum Constant Summary
ADVANCED
           
ALL
           
STANDARD
           
 
Method Summary
static com.google.common.base.Optional<CustomFieldTypeCategory> fromString(String name)
           
 String getNameI18nKey()
           
static List<CustomFieldTypeCategory> orderedValues()
           
static CustomFieldTypeCategory valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CustomFieldTypeCategory[] 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

ALL

public static final CustomFieldTypeCategory ALL

STANDARD

public static final CustomFieldTypeCategory STANDARD

ADVANCED

public static final CustomFieldTypeCategory ADVANCED
Method Detail

values

public static CustomFieldTypeCategory[] 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 (CustomFieldTypeCategory c : CustomFieldTypeCategory.values())
    System.out.println(c);

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

valueOf

public static CustomFieldTypeCategory valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

fromString

public static com.google.common.base.Optional<CustomFieldTypeCategory> fromString(String name)

orderedValues

public static List<CustomFieldTypeCategory> orderedValues()

getNameI18nKey

public String getNameI18nKey()


Copyright © 2002-2013 Atlassian. All Rights Reserved.