Package com.veeva.vault.sdk.api.action
Interface UserActionExecutionDialog.Builder
- Enclosing interface:
- UserActionExecutionDialog
public static interface UserActionExecutionDialog.Builder
Build a
UserActionExecutionDialog
to be set on a PreExecutionUserActionUIBehavior
during the action's onPreExecute
method.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Create a new instance ofUserActionExecutionBanner
.withMessage
(String message) Required: Set the message in this dialog.Optional: Set the title for this dialog.
-
Method Details
-
withMessage
Required: Set the message in this dialog. Supports HTML formatting. Validated in thebuild
method.- Parameters:
message
- the message to be shown in the pre-execution dialog- Returns:
- this builder
-
withTitle
Optional: Set the title for this dialog. Long titles are truncated with an ellipsis. The default title, "Apply Action", is used if no title is set.- Parameters:
title
- the title to be shown for the pre-execution dialog- Returns:
- this builder
-
build
UserActionExecutionDialog build()Create a new instance ofUserActionExecutionBanner
.- Returns:
- new instance of
UserActionExecutionBanner
-