java.lang.Object
java.lang.Enum<Status>
dev.vality.adapter.flow.lib.constant.Status
All Implemented Interfaces:
Serializable, Comparable<Status>, Constable

public enum Status
extends Enum<Status>
  • Enum Constant Details

    • SUCCESS

      public static final Status SUCCESS
      The operation will complete successfully or move on to the next step if a step exists.
    • ERROR

      public static final Status ERROR
      The operation will fail and exit.
    • NEED_REDIRECT

      public static final Status NEED_REDIRECT
      The operation will redirect if there are options for the redirect.
    • NEED_RETRY

      public static final Status NEED_RETRY
      This status need for cycle or retry operation (example: polling status).
  • Method Details

    • values

      public static Status[] 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 Status 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