Package org.azd.enums
Enum Class ApprovalFilters
- All Implemented Interfaces:
Serializable
,Comparable<ApprovalFilters>
,Constable
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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAll approval steps and approval snapshots.No approval steps, but approval snapshots (Use with either ManualApprovals or AutomatedApprovals for approval steps).Automated approval steps but no approval snapshots (Use with ApprovalSnapshots for snapshots).Manual approval steps but no approval snapshots (Use with ApprovalSnapshots for snapshots).No approvals or approval snapshots. -
Method Summary
Modifier and TypeMethodDescriptionstatic ApprovalFilters
Returns the enum constant of this class with the specified name.static ApprovalFilters[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALL
All approval steps and approval snapshots. -
APPROVALSNAPSHOTS
No approval steps, but approval snapshots (Use with either ManualApprovals or AutomatedApprovals for approval steps). -
AUTOMATEDAPPROVALS
Automated approval steps but no approval snapshots (Use with ApprovalSnapshots for snapshots). -
MANUALAPPROVALS
Manual approval steps but no approval snapshots (Use with ApprovalSnapshots for snapshots). -
NONE
No approvals or approval snapshots.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-