com.github.dockerjava.core.command
Class PullImageCmdImpl

java.lang.Object
  extended by com.github.dockerjava.core.command.AbstrDockerCmd<PullImageCmd,InputStream>
      extended by com.github.dockerjava.core.command.PullImageCmdImpl
All Implemented Interfaces:
DockerCmd<InputStream>, PullImageCmd

public class PullImageCmdImpl
extends AbstrDockerCmd<PullImageCmd,InputStream>
implements PullImageCmd

Pull image from repository.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.github.dockerjava.api.command.PullImageCmd
PullImageCmd.Exec
 
Field Summary
 
Fields inherited from class com.github.dockerjava.core.command.AbstrDockerCmd
execution
 
Constructor Summary
PullImageCmdImpl(PullImageCmd.Exec exec, String repository)
           
 
Method Summary
 String getRegistry()
           
 String getRepository()
           
 String getTag()
           
 String toString()
           
 PullImageCmd withRegistry(String registry)
           
 PullImageCmd withRepository(String repository)
           
 PullImageCmd withTag(String tag)
           
 
Methods inherited from class com.github.dockerjava.core.command.AbstrDockerCmd
exec, toDockerException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.github.dockerjava.api.command.DockerCmd
exec
 

Constructor Detail

PullImageCmdImpl

public PullImageCmdImpl(PullImageCmd.Exec exec,
                        String repository)
Method Detail

getRepository

public String getRepository()
Specified by:
getRepository in interface PullImageCmd

getTag

public String getTag()
Specified by:
getTag in interface PullImageCmd

getRegistry

public String getRegistry()
Specified by:
getRegistry in interface PullImageCmd

withRepository

public PullImageCmd withRepository(String repository)
Specified by:
withRepository in interface PullImageCmd

withTag

public PullImageCmd withTag(String tag)
Specified by:
withTag in interface PullImageCmd

withRegistry

public PullImageCmd withRegistry(String registry)
Specified by:
withRegistry in interface PullImageCmd

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014. All rights reserved.