public class BuildImageCmdImpl extends AbstrDockerCmd<BuildImageCmd,InputStream> implements BuildImageCmd
BuildImageCmd.Exec
execution
Constructor and Description |
---|
BuildImageCmdImpl(BuildImageCmd.Exec exec,
File dockerFolder) |
BuildImageCmdImpl(BuildImageCmd.Exec exec,
InputStream tarInputStream) |
Modifier and Type | Method and Description |
---|---|
protected File |
buildDockerFolderTar(File dockerFolder) |
void |
close() |
String |
getTag() |
InputStream |
getTarInputStream() |
boolean |
hasNoCacheEnabled() |
boolean |
hasRemoveEnabled() |
boolean |
isQuiet() |
String |
toString() |
BuildImageCmdImpl |
withNoCache() |
BuildImageCmdImpl |
withNoCache(boolean noCache) |
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, File dockerFolder)
public BuildImageCmdImpl(BuildImageCmd.Exec exec, InputStream tarInputStream)
public InputStream getTarInputStream()
getTarInputStream
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 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 void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class AbstrDockerCmd<BuildImageCmd,InputStream>
IOException
Copyright © 2015. All Rights Reserved.