com.github.dockerjava.core.command
Class InspectImageCmdImpl

java.lang.Object
  extended by com.github.dockerjava.core.command.AbstrDockerCmd<InspectImageCmd,InspectImageResponse>
      extended by com.github.dockerjava.core.command.InspectImageCmdImpl
All Implemented Interfaces:
DockerCmd<InspectImageResponse>, InspectImageCmd

public class InspectImageCmdImpl
extends AbstrDockerCmd<InspectImageCmd,InspectImageResponse>
implements InspectImageCmd

Inspect the details of an image.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.github.dockerjava.api.command.InspectImageCmd
InspectImageCmd.Exec
 
Field Summary
 
Fields inherited from class com.github.dockerjava.core.command.AbstrDockerCmd
execution
 
Constructor Summary
InspectImageCmdImpl(InspectImageCmd.Exec exec, String imageId)
           
 
Method Summary
 InspectImageResponse exec()
           
 String getImageId()
           
 String toString()
           
 InspectImageCmd withImageId(String imageId)
           
 
Methods inherited from class com.github.dockerjava.core.command.AbstrDockerCmd
toDockerException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InspectImageCmdImpl

public InspectImageCmdImpl(InspectImageCmd.Exec exec,
                           String imageId)
Method Detail

getImageId

public String getImageId()
Specified by:
getImageId in interface InspectImageCmd

withImageId

public InspectImageCmd withImageId(String imageId)
Specified by:
withImageId in interface InspectImageCmd

toString

public String toString()
Overrides:
toString in class Object

exec

public InspectImageResponse exec()
                          throws NotFoundException
Specified by:
exec in interface DockerCmd<InspectImageResponse>
Specified by:
exec in interface InspectImageCmd
Overrides:
exec in class AbstrDockerCmd<InspectImageCmd,InspectImageResponse>
Throws:
NotFoundException - No such image


Copyright © 2014. All rights reserved.