Enum SpacesListMacro.SpacesTab
- java.lang.Object
-
- java.lang.Enum<SpacesListMacro.SpacesTab>
-
- com.atlassian.confluence.it.dashboard.SpacesListMacro.SpacesTab
-
- All Implemented Interfaces:
Serializable
,Comparable<SpacesListMacro.SpacesTab>
- Enclosing class:
- SpacesListMacro
public static enum SpacesListMacro.SpacesTab extends Enum<SpacesListMacro.SpacesTab>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SpacesListMacro.SpacesTab
fromString(String tabName)
String
getQueryString()
String
getTabKey()
static SpacesListMacro.SpacesTab
valueOf(String name)
Returns the enum constant of this type with the specified name.static SpacesListMacro.SpacesTab[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final SpacesListMacro.SpacesTab ALL
-
FAVOURITE
public static final SpacesListMacro.SpacesTab FAVOURITE
-
CATEGORY
public static final SpacesListMacro.SpacesTab CATEGORY
-
NEW
public static final SpacesListMacro.SpacesTab NEW
-
DEFAULT
public static final SpacesListMacro.SpacesTab DEFAULT
-
-
Method Detail
-
values
public static SpacesListMacro.SpacesTab[] 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 (SpacesListMacro.SpacesTab c : SpacesListMacro.SpacesTab.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SpacesListMacro.SpacesTab 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 nameNullPointerException
- if the argument is null
-
fromString
public static SpacesListMacro.SpacesTab fromString(String tabName)
-
getTabKey
public String getTabKey()
-
getQueryString
public String getQueryString()
-
-