Openfire 3.9.3 Javadoc

org.jivesoftware.openfire.event
Enum UserEventDispatcher.EventType

java.lang.Object
  extended by java.lang.Enum<UserEventDispatcher.EventType>
      extended by org.jivesoftware.openfire.event.UserEventDispatcher.EventType
All Implemented Interfaces:
Serializable, Comparable<UserEventDispatcher.EventType>
Enclosing class:
UserEventDispatcher

public static enum UserEventDispatcher.EventType
extends Enum<UserEventDispatcher.EventType>

Represents valid event types.


Enum Constant Summary
user_created
          A new user was created.
user_deleting
          A user is about to be deleted.
user_modified
          The name, email, password, or extended property of a user was changed.
 
Method Summary
static UserEventDispatcher.EventType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static UserEventDispatcher.EventType[] 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

user_created

public static final UserEventDispatcher.EventType user_created
A new user was created.


user_deleting

public static final UserEventDispatcher.EventType user_deleting
A user is about to be deleted. Note that this event is fired before a user is actually deleted. This allows for referential cleanup before the user is gone.


user_modified

public static final UserEventDispatcher.EventType user_modified
The name, email, password, or extended property of a user was changed.

Method Detail

values

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

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

valueOf

public static UserEventDispatcher.EventType 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

Openfire 3.9.3 Javadoc

Copyright © 2003-2008 Jive Software.