E
- the update event type@FunctionalInterface public interface UpdateListener<E extends UpdateEvent>
DockerApi
.Modifier and Type | Field and Description |
---|---|
static UpdateListener<UpdateEvent> |
NONE
A no-op update listener.
|
Modifier and Type | Method and Description |
---|---|
static <E extends UpdateEvent> |
none()
A no-op update listener that does nothing.
|
default void |
onFinish()
Called when the operation finishes (with or without error).
|
default void |
onStart()
Called when the operation starts.
|
void |
onUpdate(E event)
Called when an update event is available.
|
static final UpdateListener<UpdateEvent> NONE
none()
default void onStart()
void onUpdate(E event)
event
- the update eventdefault void onFinish()
static <E extends UpdateEvent> UpdateListener<E> none()
E
- the event type