org.nuiton.wikitty
Enum WikittyServiceEvent.WikittyEventType

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

public static enum WikittyServiceEvent.WikittyEventType
extends java.lang.Enum<WikittyServiceEvent.WikittyEventType>

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


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

REMOVE_WIKITTY

public static final WikittyServiceEvent.WikittyEventType REMOVE_WIKITTY

CLEAR_WIKITTY

public static final WikittyServiceEvent.WikittyEventType CLEAR_WIKITTY

PUT_EXTENSION

public static final WikittyServiceEvent.WikittyEventType PUT_EXTENSION

REMOVE_EXTENSION

public static final WikittyServiceEvent.WikittyEventType REMOVE_EXTENSION

CLEAR_EXTENSION

public static final WikittyServiceEvent.WikittyEventType CLEAR_EXTENSION
Field Detail

listenerMethodName

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

Method Detail

values

public static WikittyServiceEvent.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 (WikittyServiceEvent.WikittyEventType c : WikittyServiceEvent.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 WikittyServiceEvent.WikittyEventType 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 © 2009-2010 CodeLutin. All Rights Reserved.