Package com.veeva.vault.sdk.api.action
Interface PreExecutionUserActionUIBehavior.Builder
- Enclosing interface:
- PreExecutionUserActionUIBehavior
public static interface PreExecutionUserActionUIBehavior.Builder
Build a
PreExecutionUserActionUIBehavior with UI data to be set in the action's
onPreExecute method.
UI behavior is executed after action execution.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Create a new instance ofPreExecutionUserActionUIBehaviorwithDialog(UserActionExecutionDialog dialog) Display an execution confirmation dialog at runtime.
-
Method Details
-
withDialog
Display an execution confirmation dialog at runtime. Note: Ifuser_input_objectanduser_input_object_typeare set on the action, the dialog set here will not be displayed: instead, the object record creation dialog will be shown. To be set during the action'sonPreExecutemethod.- Parameters:
dialog-UserActionExecutionDialog- Returns:
- this builder
-
build
PreExecutionUserActionUIBehavior build()Create a new instance ofPreExecutionUserActionUIBehavior- Returns:
- new instance of
PreExecutionUserActionUIBehavior
-