Enum Label.Prefix
- java.lang.Object
-
- java.lang.Enum<Label.Prefix>
-
- com.atlassian.confluence.api.model.content.Label.Prefix
-
- All Implemented Interfaces:
Serializable
,Comparable<Label.Prefix>
- Enclosing class:
- Label
public static enum Label.Prefix extends Enum<Label.Prefix>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Label.Prefix
valueOf(String name)
Returns the enum constant of this type with the specified name.static Label.Prefix[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
my
public static final Label.Prefix my
-
global
public static final Label.Prefix global
-
team
public static final Label.Prefix team
-
system
public static final Label.Prefix system
-
-
Method Detail
-
values
public static Label.Prefix[] 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 (Label.Prefix c : Label.Prefix.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Label.Prefix 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
-
-