public enum SpaceCategoryEnum extends Enum<SpaceCategoryEnum>
Enum Constant and Description |
---|
ALL |
FAVOURITES |
GLOBAL |
PERSONAL |
Modifier and Type | Method and Description |
---|---|
static SpaceCategoryEnum |
get(String rep) |
String |
getRepresentation() |
String |
toString()
The String representation of the enum.
|
static SpaceCategoryEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpaceCategoryEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpaceCategoryEnum ALL
public static final SpaceCategoryEnum FAVOURITES
public static final SpaceCategoryEnum GLOBAL
public static final SpaceCategoryEnum PERSONAL
public static SpaceCategoryEnum[] values()
for (SpaceCategoryEnum c : SpaceCategoryEnum.values()) System.out.println(c);
public static SpaceCategoryEnum valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getRepresentation()
public String toString()
toString
in class Enum<SpaceCategoryEnum>
public static SpaceCategoryEnum get(String rep)
rep
- the String representation of the enum.Copyright © 2003–2017 Atlassian. All rights reserved.