Interface ApprovalRuleSetNameAction

All Superinterfaces:
ApprovalRuleUpdateAction
All Known Implementing Classes:
ApprovalRuleSetNameActionImpl

public interface ApprovalRuleSetNameAction extends ApprovalRuleUpdateAction

Setting the name for an Approval Rule generates an ApprovalRuleNameSet Message.


Example to create an instance using the builder pattern

     ApprovalRuleSetNameAction approvalRuleSetNameAction = ApprovalRuleSetNameAction.builder()
             .name("{name}")
             .build()
 
  • Field Details

  • Method Details

    • getName

      @NotNull @NotNull String getName()

      New name to set for the Approval Rule.

      Returns:
      name
    • setName

      void setName(String name)

      New name to set for the Approval Rule.

      Parameters:
      name - value to be set
    • of

      factory method
      Returns:
      instance of ApprovalRuleSetNameAction
    • of

      factory method to create a shallow copy ApprovalRuleSetNameAction
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      factory method to create a deep copy of ApprovalRuleSetNameAction
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      builder factory method for ApprovalRuleSetNameAction
      Returns:
      builder
    • builder

      create builder for ApprovalRuleSetNameAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withApprovalRuleSetNameAction

      default <T> T withApprovalRuleSetNameAction(Function<ApprovalRuleSetNameAction,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<ApprovalRuleSetNameAction> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference