A builder for Addon objects.
Methods
| Method | Return type | Brief description |
|---|---|---|
build() | Addon | Builds the current addon compose ui action response and validates it. |
set | Addon | Sets the enum field that determines the addon compose ui action. |
Detailed documentation
build()
Builds the current addon compose ui action response and validates it.
Return
Addon — A validated compose ui action response.
Throws
Error — if the constructed AddonComposeUiActionResponse isn't valid.
setType(type)
Sets the enum field that determines the addon compose ui action.
Parameters
| Name | Type | Description |
|---|---|---|
type | Addon | The enum that indicates the addon compose ui action to take. |
Return
Addon — This object, for chaining.