Interface SkipConfiguration
- All Known Subinterfaces:
Counter
public interface SkipConfiguration
Defines how the next orders are going to be skipped.
Example to create a subtype instance using the builder pattern
SkipConfiguration skipConfiguration = SkipConfiguration.counterBuilder()
totalToSkip(1)
skipped(1)
.build()
-
Method Summary
Modifier and TypeMethodDescriptioncopyDeep()
static CounterBuilder
builder for counter subtypestatic SkipConfiguration
deepCopy
(SkipConfiguration template) factory method to create a deep copy of SkipConfiguration@NotNull String
getType()
static com.fasterxml.jackson.core.type.TypeReference<SkipConfiguration>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withSkipConfiguration
(Function<SkipConfiguration, T> helper) accessor map function
-
Method Details
-
getType
- Returns:
- type
-
copyDeep
SkipConfiguration copyDeep() -
deepCopy
factory method to create a deep copy of SkipConfiguration- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
counterBuilder
builder for counter subtype- Returns:
- builder
-
withSkipConfiguration
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
-