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 ClassesNested classes/interfaces inherited from interface Notification
Notification.NotificationType -
Field Summary
Fields inherited from interface 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 TypeMethodDescriptionvoidupdateProgress(String message, String taskProgressMessage, int total, int done, NotificationWithProgress.ProgressStatus status) Methods inherited from interface 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)
-