Interface PatternComponent
public interface PatternComponent
PatternComponent
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
PatternComponent patternComponent = PatternComponent.builder()
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic PatternComponent
deepCopy
(PatternComponent template) factory method to create a deep copy of PatternComponent@NotNull String
getType()
static com.fasterxml.jackson.core.type.TypeReference<PatternComponent>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withPatternComponent
(Function<PatternComponent, T> helper) accessor map function
-
Method Details
-
getType
- Returns:
- type
-
deepCopy
factory method to create a deep copy of PatternComponent- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
withPatternComponent
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
-