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 Notification
Notification.NotificationTypeNested classes/interfaces inherited from interface NotificationWithProgress
NotificationWithProgress.ProgressStatus -
Field Summary
Fields inherited from class NotificationImpl
key, serviceFields 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 -
Constructor Summary
ConstructorsConstructorDescriptionNotificationWithProgressImpl(NotificationServiceImpl service, PrimaryKey key) -
Method Summary
Modifier and TypeMethodDescriptionvoidupdateProgress(String message, String taskProgressMessage, int total, int done, NotificationWithProgress.ProgressStatus progressStatus) Methods inherited from class NotificationImpl
amendMessage, getKey, loadEntity, setTaskExecution, updateMessage, updateNotificationType, updateResult, updateTitleMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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:
updateProgressin interfaceNotificationWithProgress
-