Interface ApproverDisjunctionDraft
- All Superinterfaces:
Draft<ApproverDisjunctionDraft>
ApproverDisjunctionDraft
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ApproverDisjunctionDraft approverDisjunctionDraft = ApproverDisjunctionDraft.builder()
.plusOr(orBuilder -> orBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ApproverDisjunctionDraftbuilder
(ApproverDisjunctionDraft template) create builder for ApproverDisjunctionDraft instancestatic ApproverDisjunctionDraft
deepCopy
(ApproverDisjunctionDraft template) factory method to create a deep copy of ApproverDisjunctionDraft@NotNull @Valid List<RuleApproverDraft>
getOr()
Any of the nested approvers must approve in order for the disjunction to be considered approved.static ApproverDisjunctionDraft
of()
factory methodstatic ApproverDisjunctionDraft
of
(ApproverDisjunctionDraft template) factory method to create a shallow copy ApproverDisjunctionDraftvoid
setOr
(RuleApproverDraft... or) Any of the nested approvers must approve in order for the disjunction to be considered approved.void
setOr
(List<RuleApproverDraft> or) Any of the nested approvers must approve in order for the disjunction to be considered approved.static com.fasterxml.jackson.core.type.TypeReference<ApproverDisjunctionDraft>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map function
-
Method Details
-
getOr
Any of the nested approvers must approve in order for the disjunction to be considered approved.
- Returns:
- or
-
setOr
Any of the nested approvers must approve in order for the disjunction to be considered approved.
- Parameters:
or
- values to be set
-
setOr
Any of the nested approvers must approve in order for the disjunction to be considered approved.
- Parameters:
or
- values to be set
-
of
factory method- Returns:
- instance of ApproverDisjunctionDraft
-
of
factory method to create a shallow copy ApproverDisjunctionDraft- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of ApproverDisjunctionDraft- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ApproverDisjunctionDraft- Returns:
- builder
-
builder
create builder for ApproverDisjunctionDraft instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withApproverDisjunctionDraft
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-