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) |
WaitContainerCondition |
getCondition()
Defaults to
WaitContainerCondition.NOT_RUNNING if omitted or empty. |
String |
getContainerId() |
default WaitContainerResultCallback |
start() |
WaitContainerCmd |
withCondition(WaitContainerCondition condition) |
WaitContainerCmd |
withContainerId(String containerId) |
@CheckForNull String getContainerId()
WaitContainerCmd withContainerId(@Nonnull String containerId)
@Nullable WaitContainerCondition getCondition()
WaitContainerCondition.NOT_RUNNING if omitted or empty.RemoteApiVersion#VERSION_1_30WaitContainerCmd withCondition(@Nullable WaitContainerCondition condition)
RemoteApiVersion#VERSION_1_30<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 © 2025. All rights reserved.