Interface ApprovalFlowStatus

All Superinterfaces:
JsonEnum
All Known Implementing Classes:
ApprovalFlowStatus.ApprovalFlowStatusEnum

public interface ApprovalFlowStatus extends JsonEnum

Indicates whether the Approval Flow is under review, approved, or rejected.

  • Field Details

    • PENDING

      static final ApprovalFlowStatus PENDING

      Default status of Approval Flows, indicating that the Approval Flow has not been fully approved or rejected.

    • APPROVED

      static final ApprovalFlowStatus APPROVED

      Automatically set when all approvers from matching Approval Rules have approved. It indicates that the Approval Flow has been fully approved and is completed.

    • REJECTED

      static final ApprovalFlowStatus REJECTED

      Automatically set when a rejection occurs in the Approval Flow. A single rejection is sufficient to reject the entire Approval Flow.

  • Method Details

    • getJsonName

      String getJsonName()
      the JSON value
      Specified by:
      getJsonName in interface JsonEnum
      Returns:
      json value
    • name

      String name()
      the enum value
      Specified by:
      name in interface JsonEnum
      Returns:
      name
    • toString

      String toString()
      convert value to string
      Specified by:
      toString in interface JsonEnum
      Overrides:
      toString in class Object
      Returns:
      string representation
    • findEnum

      static ApprovalFlowStatus findEnum(String value)
      factory method for a enum value of ApprovalFlowStatus if no enum has been found an anonymous instance will be created
      Parameters:
      value - the enum value to be wrapped
      Returns:
      enum instance
    • findEnumViaJsonName

      static Optional<ApprovalFlowStatus> findEnumViaJsonName(String jsonName)
      method to find enum using the JSON value
      Parameters:
      jsonName - the json value to be wrapped
      Returns:
      optional of enum instance
    • values

      static ApprovalFlowStatus[] values()
      possible enum values
      Returns:
      array of possible enum values