public interface RestartContainerCmd extends SyncDockerCmd<Void>
Modifier and Type | Interface and Description |
---|---|
static interface |
RestartContainerCmd.Exec |
Modifier and Type | Method and Description |
---|---|
Void |
exec() |
String |
getContainerId() |
String |
getSignal() |
Integer |
getTimeout() |
RestartContainerCmd |
withContainerId(String containerId) |
RestartContainerCmd |
withSignal(String signal) |
RestartContainerCmd |
withTimeout(Integer timeout) |
default RestartContainerCmd |
withtTimeout(Integer timeout)
Deprecated.
wrong name, use
withTimeout(Integer) |
@CheckForNull String getContainerId()
@CheckForNull Integer getTimeout()
@CheckForNull String getSignal()
com.github.dockerjava.core.RemoteApiVersion#VERSION_1_42
RestartContainerCmd withContainerId(@Nonnull String containerId)
@Deprecated default RestartContainerCmd withtTimeout(Integer timeout)
withTimeout(Integer)
RestartContainerCmd withTimeout(Integer timeout)
RestartContainerCmd withSignal(String signal)
Void exec() throws NotFoundException
exec
in interface SyncDockerCmd<Void>
NotFoundException
- No such containerCopyright © 2024. All rights reserved.