Interface RuleApprover


public interface RuleApprover
RuleApprover
Example to create an instance using the builder pattern

     RuleApprover ruleApprover = RuleApprover.builder()
             .associateRole(associateRoleBuilder -> associateRoleBuilder)
             .build()
 
  • Method Details

    • getAssociateRole

      @NotNull @Valid @NotNull @Valid AssociateRoleKeyReference getAssociateRole()

      The Associate Role that is allowed to approve at a given stage in the approval process.

      Returns:
      associateRole
    • setAssociateRole

      void setAssociateRole(AssociateRoleKeyReference associateRole)

      The Associate Role that is allowed to approve at a given stage in the approval process.

      Parameters:
      associateRole - value to be set
    • of

      static RuleApprover of()
      factory method
      Returns:
      instance of RuleApprover
    • of

      static RuleApprover of(RuleApprover template)
      factory method to create a shallow copy RuleApprover
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      @Nullable static RuleApprover deepCopy(@Nullable RuleApprover template)
      factory method to create a deep copy of RuleApprover
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      static RuleApproverBuilder builder()
      builder factory method for RuleApprover
      Returns:
      builder
    • builder

      static RuleApproverBuilder builder(RuleApprover template)
      create builder for RuleApprover instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withRuleApprover

      default <T> T withRuleApprover(Function<RuleApprover,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<RuleApprover> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference