Package org.azd.enums

Enum Class ApprovalFilters

java.lang.Object
java.lang.Enum<ApprovalFilters>
org.azd.enums.ApprovalFilters
All Implemented Interfaces:
Serializable, Comparable<ApprovalFilters>, Constable

public enum ApprovalFilters extends Enum<ApprovalFilters>
A filter which would allow fetching approval steps selectively based on whether it is automated, or manual. This would also decide whether we should fetch pre and post approval snapshots. Assumes All by default
  • Enum Constant Details

    • ALL

      public static final ApprovalFilters ALL
      All approval steps and approval snapshots.
    • APPROVALSNAPSHOTS

      public static final ApprovalFilters APPROVALSNAPSHOTS
      No approval steps, but approval snapshots (Use with either ManualApprovals or AutomatedApprovals for approval steps).
    • AUTOMATEDAPPROVALS

      public static final ApprovalFilters AUTOMATEDAPPROVALS
      Automated approval steps but no approval snapshots (Use with ApprovalSnapshots for snapshots).
    • MANUALAPPROVALS

      public static final ApprovalFilters MANUALAPPROVALS
      Manual approval steps but no approval snapshots (Use with ApprovalSnapshots for snapshots).
    • NONE

      public static final ApprovalFilters NONE
      No approvals or approval snapshots.
  • Method Details

    • values

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