Enum Class CustomFormStatus

Object
Enum<CustomFormStatus>
CustomFormStatus
All Implemented Interfaces:
Serializable, Comparable<CustomFormStatus>, Constable

public enum CustomFormStatus extends Enum<CustomFormStatus>
Status of a Custom Form in its life cycle, for example as returned by QapiCustomForm.formStatus().
  • Enum Constant Details

    • DRAFT

      public static final CustomFormStatus DRAFT
      The Custom Form is new, or its submission for approval was withdrawn.
    • APPROVED

      public static final CustomFormStatus APPROVED
      The Custom Form was approved.
    • REVOKED

      public static final CustomFormStatus REVOKED
      The Custom Form was approved and then revoked.
    • SUPERSEDED

      public static final CustomFormStatus SUPERSEDED
      The Custom Form was approved, and then another revision of the same form was approved.
    • INVALIDATED

      public static final CustomFormStatus INVALIDATED
      The Custom Form was not approved when another revision of the same form was approved. A pending approval of the form is invalidated.
  • Method Details

    • values

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

      public static CustomFormStatus valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null