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 ofPostExecutionUserActionUIBehavior
Suppresses the default success banner notification.withBanner
(UserActionExecutionBanner banner) Displays an in-progress banner notification with a custom message when a workflow action (in theUSER_ACTION
use case) kicks off a job.
-
Method Details
-
withBanner
Displays an in-progress banner notification with a custom message when a workflow action (in theUSER_ACTION
use case) kicks off a job. Suppresses the default success banner notification. To be set during the action'sonPostExecute
method.- 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 thebuild
method. To be called during the action'sonPostExecute
method.- Returns:
- this builder
-
build
Creates a new instance ofPostExecutionUserActionUIBehavior
- Returns:
- new instance of
PostExecutionUserActionUIBehavior
-