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