Klasse ApprovalConfiguration.ApprovalConfigurationBuilder
java.lang.Object
io.github.primelib.webmethodsapigateway4j.model.ApprovalConfiguration.ApprovalConfigurationBuilder
- Umschließende Klasse:
ApprovalConfiguration
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungapprovalMode
(String approvalMode) Only possible value is anyone.approvedEmailConfiguration
(EmailConfiguration approvedEmailConfiguration) approversGroupId
(String approversGroupId) Approvers Accessprofile Identifier.autoApproval
(Boolean autoApproval) The created request will be auto-approved when the requester is a valid approver and the value is true.build()
Event Type: Any of 'createApplication', 'updateApplication', 'registerApplication', 'subscribePackage' and 'changeOwner'Unique identifier of a Approval Configuration.initiateApprovalRequestEmailConfiguration
(EmailConfiguration initiateApprovalRequestEmailConfiguration) true/false.rejectedEmailConfiguration
(EmailConfiguration rejectedEmailConfiguration) teamApprovers
(Boolean teamApprovers) The asset specific team approvers will be the approvers when the value is true.toString()
-
Methodendetails
-
approvalMode
Only possible value is anyone. This implies that, any one user associated with the approvers team can approve or reject the requests. The requester need not wait for the approval of each approver in the approvers group.- Gibt zurück:
this
.
-
approvedEmailConfiguration
public ApprovalConfiguration.ApprovalConfigurationBuilder approvedEmailConfiguration(EmailConfiguration approvedEmailConfiguration) - Gibt zurück:
this
.
-
approversGroupId
Approvers Accessprofile Identifier. Whoever belongs to the selected team will be considered as Approvers- Gibt zurück:
this
.
-
autoApproval
The created request will be auto-approved when the requester is a valid approver and the value is true. Default value is true.- Gibt zurück:
this
.
-
eventType
Event Type: Any of 'createApplication', 'updateApplication', 'registerApplication', 'subscribePackage' and 'changeOwner'- Gibt zurück:
this
.
-
id
Unique identifier of a Approval Configuration. Any of 'createApplication', 'updateApplication', 'registerApplication', 'subscribePackage' and 'changeOwner'- Gibt zurück:
this
.
-
initiateApprovalRequestEmailConfiguration
public ApprovalConfiguration.ApprovalConfigurationBuilder initiateApprovalRequestEmailConfiguration(EmailConfiguration initiateApprovalRequestEmailConfiguration) - Gibt zurück:
this
.
-
isEnabled
true/false. true value enforces approvals for the mentioned eventtype- Gibt zurück:
this
.
-
rejectedEmailConfiguration
public ApprovalConfiguration.ApprovalConfigurationBuilder rejectedEmailConfiguration(EmailConfiguration rejectedEmailConfiguration) - Gibt zurück:
this
.
-
teamApprovers
The asset specific team approvers will be the approvers when the value is true. Default value is false.- Gibt zurück:
this
.
-
build
-
toString
-