Interface ExtensionInput
public interface ExtensionInput
ExtensionInput
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ExtensionInput extensionInput = ExtensionInput.builder()
.action(ExtensionAction.CREATE)
.resource(resourceBuilder -> resourceBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic ExtensionInputBuilderbuilder()builder factory method for ExtensionInputstatic ExtensionInputBuilderbuilder(ExtensionInput template) create builder for ExtensionInput instancecopyDeep()static ExtensionInputdeepCopy(ExtensionInput template) factory method to create a deep copy of ExtensionInput@NotNull ExtensionActionCreateorUpdaterequest.@NotNull @Valid ReferenceExpanded reference to the resource that triggered the Extension.static ExtensionInputof()factory methodstatic ExtensionInputof(ExtensionInput template) factory method to create a shallow copy ExtensionInputvoidsetAction(ExtensionAction action) CreateorUpdaterequest.voidsetResource(Reference resource) Expanded reference to the resource that triggered the Extension.static com.fasterxml.jackson.core.type.TypeReference<ExtensionInput>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithExtensionInput(Function<ExtensionInput, T> helper) accessor map function
-
Method Details
-
getAction
CreateorUpdaterequest.- Returns:
- action
-
getResource
Expanded reference to the resource that triggered the Extension.
- Returns:
- resource
-
setAction
CreateorUpdaterequest.- Parameters:
action- value to be set
-
setResource
Expanded reference to the resource that triggered the Extension.
- Parameters:
resource- value to be set
-
of
factory method- Returns:
- instance of ExtensionInput
-
of
factory method to create a shallow copy ExtensionInput- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
ExtensionInput copyDeep() -
deepCopy
factory method to create a deep copy of ExtensionInput- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ExtensionInput- Returns:
- builder
-
builder
create builder for ExtensionInput instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withExtensionInput
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
-