public interface WaitContainerCmd extends AsyncDockerCmd<WaitContainerCmd,WaitResponse>
Modifier and Type | Interface and Description |
---|---|
static interface |
WaitContainerCmd.Exec |
Modifier and Type | Method and Description |
---|---|
<T extends ResultCallback<WaitResponse>> |
exec(T resultCallback) |
String |
getContainerId() |
default WaitContainerResultCallback |
start() |
WaitContainerCmd |
withContainerId(String containerId) |
@CheckForNull String getContainerId()
WaitContainerCmd withContainerId(@Nonnull String containerId)
<T extends ResultCallback<WaitResponse>> T exec(T resultCallback)
exec
in interface AsyncDockerCmd<WaitContainerCmd,WaitResponse>
NotFoundException
- container not founddefault WaitContainerResultCallback start()
start
in interface AsyncDockerCmd<WaitContainerCmd,WaitResponse>
Copyright © 2021. All rights reserved.