Interface NotificationWithProgress
- All Superinterfaces:
Notification
- All Known Implementing Classes:
NotificationWithProgressImpl
Represents a notification that is displayed on the client, which represents
a running task. It's progress can be updated and the updates will be forwarded
to the client.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.notificationcenter.api.Notification
Notification.NotificationType
-
Field Summary
Fields inherited from interface ch.tocco.nice2.notificationcenter.api.Notification
ACTION_NAME_KEY, CANCELLED_MESSAGE_KEY, FAILED_MESSAGE_KEY, FAILED_TITLE_KEY, FINISHED_MESSAGE_KEY, SCHEDULING_MESSAGE_KEY, STARTING_MESSAGE_KEY
-
Method Summary
Modifier and TypeMethodDescriptionvoid
updateProgress
(String message, String taskProgressMessage, int total, int done, NotificationWithProgress.ProgressStatus status) Methods inherited from interface ch.tocco.nice2.notificationcenter.api.Notification
amendMessage, getKey, loadEntity, setTaskExecution, updateMessage, updateNotificationType, updateResult, updateTitle
-
Method Details
-
updateProgress
void updateProgress(String message, String taskProgressMessage, int total, int done, NotificationWithProgress.ProgressStatus status)
-