com.atlassian.gadgets.directory
Enum Category
java.lang.Object
java.lang.Enum<Category>
com.atlassian.gadgets.directory.Category
- All Implemented Interfaces:
- Serializable, Comparable<Category>
public enum Category
- extends Enum<Category>
JIRA
public static final Category JIRA
CONFLUENCE
public static final Category CONFLUENCE
FE_CRU
public static final Category FE_CRU
CROWD
public static final Category CROWD
CLOVER
public static final Category CLOVER
BAMBOO
public static final Category BAMBOO
ADMIN
public static final Category ADMIN
CHARTS
public static final Category CHARTS
WALLBOARD
public static final Category WALLBOARD
OTHER
public static final Category OTHER
values
public static Category[] 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 (Category c : Category.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Category 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
named
public static Category named(String categoryName)
getName
public String getName()
Copyright © 2011 Atlassian. All Rights Reserved.