Package com.atlassian.confluence.it
Enum Macro.Category
- java.lang.Object
-
- java.lang.Enum<Macro.Category>
-
- com.atlassian.confluence.it.Macro.Category
-
- All Implemented Interfaces:
Serializable
,Comparable<Macro.Category>
- Enclosing class:
- Macro
public static enum Macro.Category extends Enum<Macro.Category>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
CONFLUENCE_CONTENT
DEVELOPMENT
FORMATTING
HIDDEN
MEDIA
NAVIGATION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Macro.Category
getByTitle(String title)
String
getKey()
String
getTitle()
static Macro.Category
valueOf(String name)
Returns the enum constant of this type with the specified name.static Macro.Category[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final Macro.Category ALL
-
CONFLUENCE_CONTENT
public static final Macro.Category CONFLUENCE_CONTENT
-
MEDIA
public static final Macro.Category MEDIA
-
FORMATTING
public static final Macro.Category FORMATTING
-
NAVIGATION
public static final Macro.Category NAVIGATION
-
DEVELOPMENT
public static final Macro.Category DEVELOPMENT
-
HIDDEN
public static final Macro.Category HIDDEN
-
-
Method Detail
-
values
public static Macro.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 (Macro.Category c : Macro.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 Macro.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 nameNullPointerException
- if the argument is null
-
getKey
public String getKey()
-
getTitle
public String getTitle()
-
getByTitle
public static Macro.Category getByTitle(String title)
-
-