com.atlassian.confluence.api.model.content
Enum Label.Prefix

java.lang.Object
  extended by java.lang.Enum<Label.Prefix>
      extended by com.atlassian.confluence.api.model.content.Label.Prefix
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Label.Prefix>
Enclosing class:
Label

public static enum Label.Prefix
extends java.lang.Enum<Label.Prefix>


Enum Constant Summary
global
           
my
           
system
           
team
           
 
Method Summary
static Label.Prefix valueOf(java.lang.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.
 
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

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(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2003-2014 Atlassian. All Rights Reserved.