Interface UserNotificationOperationBuilder.WithUserIcon<T>
-
- All Known Subinterfaces:
UserNotificationOperationBuilder.Growl
,UserNotificationOperationBuilder.Growl.Html
,UserNotificationOperationBuilder.Growl.Text
,UserNotificationOperationBuilder.Growl.WithMessage<T>
- Enclosing interface:
- UserNotificationOperationBuilder
public static interface UserNotificationOperationBuilder.WithUserIcon<T>
This interface represents a specific builder to display a notification with a user profile image as icon.- Since:
- 12.13
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
userIcon(User user)
Applies the user profile image as icon to the notification, if available.
-
-
-
Method Detail
-
userIcon
T userIcon(User user) throws ValidationException
Applies the user profile image as icon to the notification, if available. The user profile image can be optionally configured for each user.- Parameters:
user
- the user to obtain the profile image for the notification- Returns:
- the specific
UserNotificationOperationBuilder
instance of type T - Throws:
ValidationException
- if the user is null- Since:
- 12.13
-
-