Interface UserNotificationOperationBuilder.WithCloseOption<T>
- All Known Subinterfaces:
UserNotificationOperationBuilder.Banner
,UserNotificationOperationBuilder.Banner.Text
,UserNotificationOperationBuilder.Banner.WithMessage<T>
- Enclosing interface:
UserNotificationOperationBuilder
public static interface UserNotificationOperationBuilder.WithCloseOption<T>
This interface represents a specific builder to display a
notification with an option to be closed by the user.
- Since:
- 13.0
-
Method Summary
Modifier and TypeMethodDescriptionallowClose
(boolean allowClose) Sets the allowClose flag for the notification to be displayed.
-
Method Details
-
allowClose
Sets the allowClose flag for the notification to be displayed. If the flag is set the agent may close the notification manually.- Parameters:
allowClose
- if set to true the agent may close the notification manually.- Returns:
- the specific
UserNotificationOperationBuilder
instance of type T - Throws:
ValidationException
- if the allowClose flag cannot be applied with the given parameters.- Since:
- 13.0
-