Enum AdHocCommandData.Action

java.lang.Object
java.lang.Enum<AdHocCommandData.Action>
org.jivesoftware.smackx.commands.packet.AdHocCommandData.Action
All Implemented Interfaces:
Serializable, Comparable<AdHocCommandData.Action>
Enclosing class:
AdHocCommandData

public static enum AdHocCommandData.Action extends Enum<AdHocCommandData.Action>
  • Enum Constant Details

    • execute

      public static final AdHocCommandData.Action execute
      The command should be executed or continue to be executed. This is the default value.
    • cancel

      public static final AdHocCommandData.Action cancel
      The command should be canceled.
    • prev

      public static final AdHocCommandData.Action prev
      The command should be digress to the previous stage of execution.
    • next

      public static final AdHocCommandData.Action next
      The command should progress to the next stage of execution.
    • complete

      public static final AdHocCommandData.Action complete
      The command should be completed (if possible).
  • Field Details

  • Method Details

    • values

      public static AdHocCommandData.Action[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static AdHocCommandData.Action 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