com.atlassian.gadgets.directory
Enum Category

java.lang.Object
  extended by java.lang.Enum<Category>
      extended by com.atlassian.gadgets.directory.Category
All Implemented Interfaces:
Serializable, Comparable<Category>

public enum Category
extends Enum<Category>


Enum Constant Summary
ADMIN
           
BAMBOO
           
CHARTS
           
CLOVER
           
CONFLUENCE
           
CROWD
           
FE_CRU
           
JIRA
           
OTHER
           
WALLBOARD
           
 
Method Summary
 String getName()
           
static Category named(String categoryName)
           
static Category valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Category[] 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

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
Method Detail

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.