Interface SkipConfigurationDraft

All Known Subinterfaces:
CounterDraft

public interface SkipConfigurationDraft

Defines how the next orders are going to be skipped.


Example to create a subtype instance using the builder pattern

     SkipConfigurationDraft skipConfigurationDraft = SkipConfigurationDraft.counterBuilder()
             totalToSkip(1)
             .build()
 
  • Method Details

    • getType

      @NotNull @NotNull String getType()
      Returns:
      type
    • copyDeep

    • deepCopy

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

      static CounterDraftBuilder counterBuilder()
      builder for counter subtype
      Returns:
      builder
    • withSkipConfigurationDraft

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