Package org.jivesoftware.openfire.muc
Enum MUCEventDelegate.InvitationResult
- java.lang.Object
-
- java.lang.Enum<MUCEventDelegate.InvitationResult>
-
- org.jivesoftware.openfire.muc.MUCEventDelegate.InvitationResult
-
- All Implemented Interfaces:
Serializable
,Comparable<MUCEventDelegate.InvitationResult>
- Enclosing class:
- MUCEventDelegate
public static enum MUCEventDelegate.InvitationResult extends Enum<MUCEventDelegate.InvitationResult>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HANDLED_BY_DELEGATE
HANDLED_BY_OPENFIRE
REJECTED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MUCEventDelegate.InvitationResult
valueOf(String name)
Returns the enum constant of this type with the specified name.static MUCEventDelegate.InvitationResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HANDLED_BY_DELEGATE
public static final MUCEventDelegate.InvitationResult HANDLED_BY_DELEGATE
-
HANDLED_BY_OPENFIRE
public static final MUCEventDelegate.InvitationResult HANDLED_BY_OPENFIRE
-
REJECTED
public static final MUCEventDelegate.InvitationResult REJECTED
-
-
Method Detail
-
values
public static MUCEventDelegate.InvitationResult[] 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 (MUCEventDelegate.InvitationResult c : MUCEventDelegate.InvitationResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MUCEventDelegate.InvitationResult 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 nameNullPointerException
- if the argument is null
-
-