public class TotalProgressPushListener extends TotalProgressListener<PushImageUpdateEvent>
UpdateListener that calculates the total progress of the entire push operation
and publishes TotalProgressEvent.NONE| Constructor and Description |
|---|
TotalProgressPushListener(java.util.function.Consumer<TotalProgressEvent> consumer)
Create a new
TotalProgressPushListener that sends events to the given consumer. |
TotalProgressPushListener(java.lang.String prefix)
Create a new
TotalProgressPushListener that prints a progress bar to
System.out. |
onFinish, onStart, onUpdateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnonepublic TotalProgressPushListener(java.lang.String prefix)
TotalProgressPushListener that prints a progress bar to
System.out.prefix - the prefix to outputpublic TotalProgressPushListener(java.util.function.Consumer<TotalProgressEvent> consumer)
TotalProgressPushListener that sends events to the given consumer.consumer - the consumer that receives progress
events