Interface ApprovalFlowStatus
- All Superinterfaces:
JsonEnum
- All Known Implementing Classes:
ApprovalFlowStatus.ApprovalFlowStatusEnum
Indicates whether the Approval Flow is under review, approved, or rejected.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
possible values of ApprovalFlowStatus -
Field Summary
Modifier and TypeFieldDescriptionstatic final ApprovalFlowStatus
Automatically set when all approvers from matching Approval Rules have approved.static final ApprovalFlowStatus
Default status of Approval Flows, indicating that the Approval Flow has not been fully approved or rejected.static final ApprovalFlowStatus
Automatically set when a rejection occurs in the Approval Flow. -
Method Summary
Modifier and TypeMethodDescriptionstatic ApprovalFlowStatus
factory method for a enum value of ApprovalFlowStatus if no enum has been found an anonymous instance will be createdstatic Optional<ApprovalFlowStatus>
findEnumViaJsonName
(String jsonName) method to find enum using the JSON valuethe JSON valuename()
the enum valuetoString()
convert value to stringstatic ApprovalFlowStatus[]
values()
possible enum values
-
Field Details
-
PENDING
Default status of Approval Flows, indicating that the Approval Flow has not been fully approved or rejected.
-
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
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 interfaceJsonEnum
- Returns:
- json value
-
name
String name()the enum value -
toString
String toString()convert value to string -
findEnum
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
method to find enum using the JSON value- Parameters:
jsonName
- the json value to be wrapped- Returns:
- optional of enum instance
-
values
possible enum values- Returns:
- array of possible enum values
-