Interface RuleApprover
public interface RuleApprover
RuleApprover
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
RuleApprover ruleApprover = RuleApprover.builder()
.associateRole(associateRoleBuilder -> associateRoleBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic RuleApproverBuilderbuilder()builder factory method for RuleApproverstatic RuleApproverBuilderbuilder(RuleApprover template) create builder for RuleApprover instancecopyDeep()static RuleApproverdeepCopy(RuleApprover template) factory method to create a deep copy of RuleApprover@NotNull @Valid AssociateRoleKeyReferenceThe Associate Role that is allowed to approve at a given stage in the approval process.static RuleApproverof()factory methodstatic RuleApproverof(RuleApprover template) factory method to create a shallow copy RuleApprovervoidsetAssociateRole(AssociateRoleKeyReference associateRole) The Associate Role that is allowed to approve at a given stage in the approval process.static com.fasterxml.jackson.core.type.TypeReference<RuleApprover>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithRuleApprover(Function<RuleApprover, T> helper) accessor map function
-
Method Details
-
getAssociateRole
The Associate Role that is allowed to approve at a given stage in the approval process.
- Returns:
- associateRole
-
setAssociateRole
The Associate Role that is allowed to approve at a given stage in the approval process.
- Parameters:
associateRole- value to be set
-
of
factory method- Returns:
- instance of RuleApprover
-
of
factory method to create a shallow copy RuleApprover- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
RuleApprover copyDeep() -
deepCopy
factory method to create a deep copy of RuleApprover- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for RuleApprover- Returns:
- builder
-
builder
create builder for RuleApprover instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withRuleApprover
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
-