org.jboss.cache.notifications.event
Enum NodeModifiedEvent.ModificationType

java.lang.Object
  extended by java.lang.Enum<NodeModifiedEvent.ModificationType>
      extended by org.jboss.cache.notifications.event.NodeModifiedEvent.ModificationType
All Implemented Interfaces:
Serializable, Comparable<NodeModifiedEvent.ModificationType>
Enclosing interface:
NodeModifiedEvent

public static enum NodeModifiedEvent.ModificationType
extends Enum<NodeModifiedEvent.ModificationType>

Different cache modification types.


Enum Constant Summary
PUT_DATA
           
PUT_MAP
           
REMOVE_DATA
           
 
Method Summary
static NodeModifiedEvent.ModificationType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static NodeModifiedEvent.ModificationType[] 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

PUT_DATA

public static final NodeModifiedEvent.ModificationType PUT_DATA

REMOVE_DATA

public static final NodeModifiedEvent.ModificationType REMOVE_DATA

PUT_MAP

public static final NodeModifiedEvent.ModificationType PUT_MAP
Method Detail

values

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

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

valueOf

public static NodeModifiedEvent.ModificationType 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


Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.