com.github.dockerjava.core.command
Class InspectImageCmdImpl
java.lang.Object
com.github.dockerjava.core.command.AbstrDockerCmd<InspectImageCmd,InspectImageResponse>
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.
InspectImageCmdImpl
public InspectImageCmdImpl(InspectImageCmd.Exec exec,
String imageId)
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.