Enum AdHocCommandData.AllowedAction
- java.lang.Object
-
- java.lang.Enum<AdHocCommandData.AllowedAction>
-
- org.jivesoftware.smackx.commands.packet.AdHocCommandData.AllowedAction
-
- All Implemented Interfaces:
Serializable
,Comparable<AdHocCommandData.AllowedAction>
- Enclosing class:
- AdHocCommandData
public static enum AdHocCommandData.AllowedAction extends Enum<AdHocCommandData.AllowedAction>
-
-
Field Summary
Fields Modifier and Type Field Description AdHocCommandData.Action
action
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AdHocCommandData.AllowedAction
valueOf(String name)
Returns the enum constant of this type with the specified name.static AdHocCommandData.AllowedAction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
prev
public static final AdHocCommandData.AllowedAction prev
The command should be digress to the previous stage of execution.
-
next
public static final AdHocCommandData.AllowedAction next
The command should progress to the next stage of execution.
-
complete
public static final AdHocCommandData.AllowedAction complete
The command should be completed (if possible).
-
-
Field Detail
-
action
public final AdHocCommandData.Action action
-
-
Method Detail
-
values
public static AdHocCommandData.AllowedAction[] 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 (AdHocCommandData.AllowedAction c : AdHocCommandData.AllowedAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AdHocCommandData.AllowedAction 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
-
-