com.xpn.xwiki.plugin.watchlist
Enum WatchListStore.ElementType

java.lang.Object
  extended by java.lang.Enum<WatchListStore.ElementType>
      extended by com.xpn.xwiki.plugin.watchlist.WatchListStore.ElementType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<WatchListStore.ElementType>
Enclosing class:
WatchListStore

public static enum WatchListStore.ElementType
extends java.lang.Enum<WatchListStore.ElementType>

List of elements that can be watched.


Enum Constant Summary
DOCUMENT
          Document.
SPACE
          Space.
USER
          User.
WIKI
          Wiki.
 
Method Summary
static WatchListStore.ElementType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static WatchListStore.ElementType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

WIKI

public static final WatchListStore.ElementType WIKI
Wiki.


SPACE

public static final WatchListStore.ElementType SPACE
Space.


DOCUMENT

public static final WatchListStore.ElementType DOCUMENT
Document.


USER

public static final WatchListStore.ElementType USER
User.

Method Detail

values

public static final WatchListStore.ElementType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(WatchListStore.ElementType c : WatchListStore.ElementType.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static WatchListStore.ElementType 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


Copyright © 2004-2010 XWiki. All Rights Reserved.