Interface RecurrencePolicyUpdate


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

     RecurrencePolicyUpdate recurrencePolicyUpdate = RecurrencePolicyUpdate.builder()
             .version(0.3)
             .plusActions(actionsBuilder -> actionsBuilder)
             .build()
 
  • Method Details

    • getVersion

      @NotNull @NotNull Long getVersion()

      Expected version of the RecurrencePolicy on 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

      @NotNull @Valid @NotNull @Valid List<RecurrencePolicyUpdateAction> getActions()

      Update actions to be performed on the RecurrencePolicy.

      Returns:
      actions
    • setVersion

      void setVersion(Long version)

      Expected version of the RecurrencePolicy on 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

      void setActions(RecurrencePolicyUpdateAction... actions)

      Update actions to be performed on the RecurrencePolicy.

      Parameters:
      actions - values to be set
    • setActions

      void setActions(List<RecurrencePolicyUpdateAction> actions)

      Update actions to be performed on the RecurrencePolicy.

      Parameters:
      actions - values to be set
    • of

      factory method
      Returns:
      instance of RecurrencePolicyUpdate
    • of

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

    • deepCopy

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

      builder factory method for RecurrencePolicyUpdate
      Returns:
      builder
    • builder

      create builder for RecurrencePolicyUpdate instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withRecurrencePolicyUpdate

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