org.nuiton.wikitty.services
Enum WikittyEvent.WikittyEventType

java.lang.Object
  extended by java.lang.Enum<WikittyEvent.WikittyEventType>
      extended by org.nuiton.wikitty.services.WikittyEvent.WikittyEventType
All Implemented Interfaces:
Serializable, Comparable<WikittyEvent.WikittyEventType>
Enclosing class:
WikittyEvent

public static enum WikittyEvent.WikittyEventType
extends Enum<WikittyEvent.WikittyEventType>

Message type (put, remove, clear...).


Enum Constant Summary
CLEAR_EXTENSION
           
CLEAR_WIKITTY
           
PUT_EXTENSION
           
PUT_WIKITTY
           
REMOVE_EXTENSION
           
REMOVE_WIKITTY
           
 
Field Summary
 String listenerMethodName
          le nom de la methode du listener a appeler pour ce type d'event
 
Method Summary
static WikittyEvent.WikittyEventType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static WikittyEvent.WikittyEventType[] 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

PUT_WIKITTY

public static final WikittyEvent.WikittyEventType PUT_WIKITTY

REMOVE_WIKITTY

public static final WikittyEvent.WikittyEventType REMOVE_WIKITTY

CLEAR_WIKITTY

public static final WikittyEvent.WikittyEventType CLEAR_WIKITTY

PUT_EXTENSION

public static final WikittyEvent.WikittyEventType PUT_EXTENSION

REMOVE_EXTENSION

public static final WikittyEvent.WikittyEventType REMOVE_EXTENSION

CLEAR_EXTENSION

public static final WikittyEvent.WikittyEventType CLEAR_EXTENSION
Field Detail

listenerMethodName

public String listenerMethodName
le nom de la methode du listener a appeler pour ce type d'event

Method Detail

values

public static WikittyEvent.WikittyEventType[] 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 (WikittyEvent.WikittyEventType c : WikittyEvent.WikittyEventType.values())
    System.out.println(c);

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

valueOf

public static WikittyEvent.WikittyEventType 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


Copyright © 2009-2010 CodeLutin. All Rights Reserved.