public class BuildImageCmdImpl extends AbstrDockerCmd<BuildImageCmd,BuildImageCmd.Response> implements BuildImageCmd
BuildImageCmd.Exec, BuildImageCmd.Response
execution
Constructor and Description |
---|
BuildImageCmdImpl(BuildImageCmd.Exec exec) |
BuildImageCmdImpl(BuildImageCmd.Exec exec,
File dockerFileOrFolder) |
BuildImageCmdImpl(BuildImageCmd.Exec exec,
InputStream tarInputStream) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
AuthConfigurations |
getBuildAuthConfigs() |
String |
getPathToDockerfile() |
String |
getTag() |
InputStream |
getTarInputStream() |
boolean |
hasNoCacheEnabled() |
boolean |
hasPullEnabled() |
boolean |
hasRemoveEnabled() |
boolean |
isQuiet() |
String |
toString() |
BuildImageCmd |
withBaseDirectory(File baseDirectory) |
BuildImageCmd |
withBuildAuthConfigs(AuthConfigurations authConfigs) |
BuildImageCmdImpl |
withDockerfile(File dockerfile) |
BuildImageCmdImpl |
withNoCache() |
BuildImageCmdImpl |
withNoCache(boolean noCache) |
BuildImageCmdImpl |
withPull() |
BuildImageCmdImpl |
withPull(boolean pull) |
BuildImageCmdImpl |
withQuiet() |
BuildImageCmdImpl |
withQuiet(boolean quiet) |
BuildImageCmdImpl |
withRemove() |
BuildImageCmdImpl |
withRemove(boolean rm) |
BuildImageCmdImpl |
withTag(String tag) |
BuildImageCmdImpl |
withTarInputStream(InputStream tarInputStream) |
exec
public BuildImageCmdImpl(BuildImageCmd.Exec exec)
public BuildImageCmdImpl(BuildImageCmd.Exec exec, File dockerFileOrFolder)
public BuildImageCmdImpl(BuildImageCmd.Exec exec, InputStream tarInputStream)
public InputStream getTarInputStream()
getTarInputStream
in interface BuildImageCmd
public BuildImageCmdImpl withDockerfile(File dockerfile)
withDockerfile
in interface BuildImageCmd
public BuildImageCmdImpl withTarInputStream(InputStream tarInputStream)
withTarInputStream
in interface BuildImageCmd
public BuildImageCmdImpl withTag(String tag)
withTag
in interface BuildImageCmd
public String getTag()
getTag
in interface BuildImageCmd
public boolean hasNoCacheEnabled()
hasNoCacheEnabled
in interface BuildImageCmd
public boolean hasRemoveEnabled()
hasRemoveEnabled
in interface BuildImageCmd
public boolean isQuiet()
isQuiet
in interface BuildImageCmd
public boolean hasPullEnabled()
hasPullEnabled
in interface BuildImageCmd
public String getPathToDockerfile()
getPathToDockerfile
in interface BuildImageCmd
public AuthConfigurations getBuildAuthConfigs()
getBuildAuthConfigs
in interface BuildImageCmd
public BuildImageCmd withBaseDirectory(File baseDirectory)
withBaseDirectory
in interface BuildImageCmd
public BuildImageCmdImpl withNoCache()
withNoCache
in interface BuildImageCmd
public BuildImageCmdImpl withNoCache(boolean noCache)
withNoCache
in interface BuildImageCmd
public BuildImageCmdImpl withRemove()
withRemove
in interface BuildImageCmd
public BuildImageCmdImpl withRemove(boolean rm)
withRemove
in interface BuildImageCmd
public BuildImageCmdImpl withQuiet()
withQuiet
in interface BuildImageCmd
public BuildImageCmdImpl withQuiet(boolean quiet)
withQuiet
in interface BuildImageCmd
public BuildImageCmdImpl withPull()
withPull
in interface BuildImageCmd
public BuildImageCmdImpl withPull(boolean pull)
withPull
in interface BuildImageCmd
public BuildImageCmd withBuildAuthConfigs(AuthConfigurations authConfigs)
withBuildAuthConfigs
in interface BuildImageCmd
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class AbstrDockerCmd<BuildImageCmd,BuildImageCmd.Response>
IOException
Copyright © 2015. All Rights Reserved.