Class NotificationWithProgressImpl
java.lang.Object
ch.tocco.nice2.notificationcenter.impl.NotificationImpl
ch.tocco.nice2.notificationcenter.impl.NotificationWithProgressImpl
- All Implemented Interfaces:
Notification
,NotificationWithProgress
public class NotificationWithProgressImpl
extends NotificationImpl
implements NotificationWithProgress
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.notificationcenter.api.Notification
Notification.NotificationType
Nested classes/interfaces inherited from interface ch.tocco.nice2.notificationcenter.api.NotificationWithProgress
NotificationWithProgress.ProgressStatus
-
Field Summary
Fields inherited from class ch.tocco.nice2.notificationcenter.impl.NotificationImpl
key, service
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
-
Constructor Summary
ConstructorDescriptionNotificationWithProgressImpl
(NotificationServiceImpl service, PrimaryKey key) -
Method Summary
Modifier and TypeMethodDescriptionvoid
updateProgress
(String message, String taskProgressMessage, int total, int done, NotificationWithProgress.ProgressStatus progressStatus) Methods inherited from class ch.tocco.nice2.notificationcenter.impl.NotificationImpl
amendMessage, getKey, loadEntity, setTaskExecution, updateMessage, updateNotificationType, updateResult, updateTitle
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.notificationcenter.api.Notification
amendMessage, getKey, loadEntity, setTaskExecution, updateMessage, updateNotificationType, updateResult, updateTitle
-
Constructor Details
-
NotificationWithProgressImpl
-
-
Method Details
-
updateProgress
public void updateProgress(String message, String taskProgressMessage, int total, int done, NotificationWithProgress.ProgressStatus progressStatus) - Specified by:
updateProgress
in interfaceNotificationWithProgress
-