public class ExecCreateCmdImpl extends AbstrDockerCmd<ExecCreateCmd,ExecCreateCmdResponse> implements ExecCreateCmd
ExecCreateCmd.Execexecution| Constructor and Description |
|---|
ExecCreateCmdImpl(ExecCreateCmd.Exec exec,
String containerId) |
| Modifier and Type | Method and Description |
|---|---|
ExecCreateCmdResponse |
exec() |
String |
getContainerId() |
String |
getUser() |
Boolean |
hasAttachStderrEnabled() |
Boolean |
hasAttachStdinEnabled() |
Boolean |
hasAttachStdoutEnabled() |
Boolean |
hasTtyEnabled() |
ExecCreateCmd |
withAttachStderr(Boolean attachStderr) |
ExecCreateCmd |
withAttachStdin(Boolean attachStdin) |
ExecCreateCmd |
withAttachStdout(Boolean attachStdout) |
ExecCreateCmd |
withCmd(String... cmd) |
ExecCreateCmd |
withContainerId(String containerId) |
ExecCreateCmd |
withTty(Boolean tty) |
ExecCreateCmd |
withUser(String user) |
close, registryAuth, toStringpublic ExecCreateCmdImpl(ExecCreateCmd.Exec exec, String containerId)
public ExecCreateCmd withContainerId(String containerId)
withContainerId in interface ExecCreateCmdpublic ExecCreateCmd withAttachStdin(Boolean attachStdin)
withAttachStdin in interface ExecCreateCmdpublic ExecCreateCmd withAttachStdout(Boolean attachStdout)
withAttachStdout in interface ExecCreateCmdpublic ExecCreateCmd withAttachStderr(Boolean attachStderr)
withAttachStderr in interface ExecCreateCmdpublic ExecCreateCmd withTty(Boolean tty)
withTty in interface ExecCreateCmdpublic ExecCreateCmd withUser(String user)
withUser in interface ExecCreateCmdpublic ExecCreateCmd withCmd(String... cmd)
withCmd in interface ExecCreateCmdpublic String getContainerId()
getContainerId in interface ExecCreateCmdpublic Boolean hasAttachStdinEnabled()
hasAttachStdinEnabled in interface ExecCreateCmdpublic Boolean hasAttachStdoutEnabled()
hasAttachStdoutEnabled in interface ExecCreateCmdpublic Boolean hasAttachStderrEnabled()
hasAttachStderrEnabled in interface ExecCreateCmdpublic Boolean hasTtyEnabled()
hasTtyEnabled in interface ExecCreateCmdpublic String getUser()
getUser in interface ExecCreateCmdpublic ExecCreateCmdResponse exec() throws NotFoundException
exec in interface SyncDockerCmd<ExecCreateCmdResponse>exec in class AbstrDockerCmd<ExecCreateCmd,ExecCreateCmdResponse>NotFoundException - No such containerCopyright © 2017. All Rights Reserved.