com.atlassian.confluence.it.dashboard
Enum SpacesListMacro.SpacesTab

java.lang.Object
  extended by java.lang.Enum<SpacesListMacro.SpacesTab>
      extended by 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>


Enum Constant Summary
ALL
           
CATEGORY
           
DEFAULT
           
FAVOURITE
           
NEW
           
 
Method Summary
static SpacesListMacro.SpacesTab fromString(String tabName)
           
 String toString()
           
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 name
NullPointerException - if the argument is null

toString

public String toString()
Overrides:
toString in class Enum<SpacesListMacro.SpacesTab>

fromString

public static SpacesListMacro.SpacesTab fromString(String tabName)


Copyright © 2003-2011 Atlassian. All Rights Reserved.