Package com.veeva.vault.sdk.api.action
Interface PostExecutionUserActionUIBehavior.Builder
- Enclosing interface:
- PostExecutionUserActionUIBehavior
public static interface PostExecutionUserActionUIBehavior.Builder
Build a
PostExecutionUserActionUIBehavior with UI data to be set in the action's
onPostExecute method. UI behavior is executed after action execution.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates a new instance ofPostExecutionUserActionUIBehaviorSuppresses the default success banner notification.withBanner(UserActionExecutionBanner banner) Displays an in-progress banner notification with a custom message when a workflow action (in theUSER_ACTIONuse case) kicks off a job.
-
Method Details
-
withBanner
Displays an in-progress banner notification with a custom message when a workflow action (in theUSER_ACTIONuse case) kicks off a job. Suppresses the default success banner notification. To be set during the action'sonPostExecutemethod.- Parameters:
banner-UserActionExecutionBanner- Returns:
- this builder
-
suppressBanner
PostExecutionUserActionUIBehavior.Builder suppressBanner()Suppresses the default success banner notification. Cannot be configured concurrently with a custom banner. This is validated in thebuildmethod. To be called during the action'sonPostExecutemethod.- Returns:
- this builder
-
build
Creates a new instance ofPostExecutionUserActionUIBehavior- Returns:
- new instance of
PostExecutionUserActionUIBehavior
-