public class BuildImageCmdImpl extends AbstrAsyncDockerCmd<BuildImageCmd,BuildResponseItem> implements BuildImageCmd
BuildImageCmd.Exec
execution
Constructor and Description |
---|
BuildImageCmdImpl(BuildImageCmd.Exec exec) |
BuildImageCmdImpl(BuildImageCmd.Exec exec,
File dockerFileOrFolder) |
BuildImageCmdImpl(BuildImageCmd.Exec exec,
InputStream tarInputStream) |
exec
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
exec
public BuildImageCmdImpl(BuildImageCmd.Exec exec)
public BuildImageCmdImpl(BuildImageCmd.Exec exec, File dockerFileOrFolder)
public BuildImageCmdImpl(BuildImageCmd.Exec exec, InputStream tarInputStream)
public String getTag()
BuildImageCmd
getTag
in interface BuildImageCmd
public URI getRemote()
BuildImageCmd
getRemote
in interface BuildImageCmd
public Boolean hasNoCacheEnabled()
BuildImageCmd
hasNoCacheEnabled
in interface BuildImageCmd
public Boolean hasRemoveEnabled()
BuildImageCmd
hasRemoveEnabled
in interface BuildImageCmd
public Boolean isForcerm()
BuildImageCmd
isForcerm
in interface BuildImageCmd
public Boolean isQuiet()
BuildImageCmd
isQuiet
in interface BuildImageCmd
public Boolean hasPullEnabled()
BuildImageCmd
hasPullEnabled
in interface BuildImageCmd
public String getPathToDockerfile()
getPathToDockerfile
in interface BuildImageCmd
public Long getMemory()
getMemory
in interface BuildImageCmd
public Long getMemswap()
getMemswap
in interface BuildImageCmd
public String getCpushares()
getCpushares
in interface BuildImageCmd
public String getCpusetcpus()
getCpusetcpus
in interface BuildImageCmd
public Map<String,String> getBuildArgs()
getBuildArgs
in interface BuildImageCmd
public AuthConfigurations getBuildAuthConfigs()
getBuildAuthConfigs
in interface BuildImageCmd
public InputStream getTarInputStream()
getTarInputStream
in interface BuildImageCmd
public Long getShmsize()
getShmsize
in interface BuildImageCmd
shmsize
public BuildImageCmdImpl withTag(String tag)
withTag
in interface BuildImageCmd
public BuildImageCmd withRemote(URI remote)
withRemote
in interface BuildImageCmd
public BuildImageCmdImpl withNoCache(Boolean noCache)
withNoCache
in interface BuildImageCmd
public BuildImageCmdImpl withRemove(Boolean rm)
withRemove
in interface BuildImageCmd
public BuildImageCmd withForcerm(Boolean forcerm)
withForcerm
in interface BuildImageCmd
public BuildImageCmdImpl withQuiet(Boolean quiet)
withQuiet
in interface BuildImageCmd
public BuildImageCmdImpl withPull(Boolean pull)
withPull
in interface BuildImageCmd
public BuildImageCmd withMemory(Long memory)
withMemory
in interface BuildImageCmd
public BuildImageCmd withMemswap(Long memswap)
withMemswap
in interface BuildImageCmd
public BuildImageCmd withCpushares(String cpushares)
withCpushares
in interface BuildImageCmd
public BuildImageCmd withCpusetcpus(String cpusetcpus)
withCpusetcpus
in interface BuildImageCmd
public BuildImageCmd withBuildArg(String key, String value)
withBuildArg
in interface BuildImageCmd
public BuildImageCmd withBaseDirectory(File baseDirectory)
withBaseDirectory
in interface BuildImageCmd
public BuildImageCmdImpl withDockerfile(File dockerfile)
withDockerfile
in interface BuildImageCmd
public BuildImageCmdImpl withTarInputStream(InputStream tarInputStream)
withTarInputStream
in interface BuildImageCmd
public BuildImageCmd withBuildAuthConfigs(AuthConfigurations authConfigs)
withBuildAuthConfigs
in interface BuildImageCmd
public BuildImageCmd withShmsize(Long shmsize)
withShmsize
in interface BuildImageCmd
shmsize
public void close()
close
in interface DockerCmd<Void>
close
in interface Closeable
close
in interface AutoCloseable
close
in class AbstrAsyncDockerCmd<BuildImageCmd,BuildResponseItem>
Copyright © 2016. All Rights Reserved.