Interface ApprovalFlowUpdate
public interface ApprovalFlowUpdate
ApprovalFlowUpdate
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ApprovalFlowUpdate approvalFlowUpdate = ApprovalFlowUpdate.builder()
.version(0.3)
.plusActions(actionsBuilder -> actionsBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic ApprovalFlowUpdateBuilderbuilder()builder factory method for ApprovalFlowUpdatestatic ApprovalFlowUpdateBuilderbuilder(ApprovalFlowUpdate template) create builder for ApprovalFlowUpdate instancecopyDeep()static ApprovalFlowUpdatedeepCopy(ApprovalFlowUpdate template) factory method to create a deep copy of ApprovalFlowUpdate@NotNull @Valid List<ApprovalFlowUpdateAction>Update actions to be performed on the Approval Flow.@NotNull LongExpected version of the Approval Flow to which the changes should be applied.static ApprovalFlowUpdateof()factory methodstatic ApprovalFlowUpdateof(ApprovalFlowUpdate template) factory method to create a shallow copy ApprovalFlowUpdatevoidsetActions(ApprovalFlowUpdateAction... actions) Update actions to be performed on the Approval Flow.voidsetActions(List<ApprovalFlowUpdateAction> actions) Update actions to be performed on the Approval Flow.voidsetVersion(Long version) Expected version of the Approval Flow to which the changes should be applied.static com.fasterxml.jackson.core.type.TypeReference<ApprovalFlowUpdate>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithApprovalFlowUpdate(Function<ApprovalFlowUpdate, T> helper) accessor map function
-
Method Details
-
getVersion
Expected version of the Approval Flow to which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error will be returned.
- Returns:
- version
-
getActions
Update actions to be performed on the Approval Flow.
- Returns:
- actions
-
setVersion
Expected version of the Approval Flow to which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error will be returned.
- Parameters:
version- value to be set
-
setActions
Update actions to be performed on the Approval Flow.
- Parameters:
actions- values to be set
-
setActions
Update actions to be performed on the Approval Flow.
- Parameters:
actions- values to be set
-
of
factory method- Returns:
- instance of ApprovalFlowUpdate
-
of
factory method to create a shallow copy ApprovalFlowUpdate- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
ApprovalFlowUpdate copyDeep() -
deepCopy
factory method to create a deep copy of ApprovalFlowUpdate- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ApprovalFlowUpdate- Returns:
- builder
-
builder
create builder for ApprovalFlowUpdate instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withApprovalFlowUpdate
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
-