com.github.dockerjava.core.command
Class InspectContainerCmdImpl

java.lang.Object
  extended by com.github.dockerjava.core.command.AbstrDockerCmd<InspectContainerCmd,InspectContainerResponse>
      extended by com.github.dockerjava.core.command.InspectContainerCmdImpl
All Implemented Interfaces:
DockerCmd<InspectContainerResponse>, InspectContainerCmd

public class InspectContainerCmdImpl
extends AbstrDockerCmd<InspectContainerCmd,InspectContainerResponse>
implements InspectContainerCmd

Inspect the details of a container.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.github.dockerjava.api.command.InspectContainerCmd
InspectContainerCmd.Exec
 
Field Summary
 
Fields inherited from class com.github.dockerjava.core.command.AbstrDockerCmd
execution
 
Constructor Summary
InspectContainerCmdImpl(InspectContainerCmd.Exec exec, String containerId)
           
 
Method Summary
 InspectContainerResponse exec()
           
 String getContainerId()
           
 String toString()
           
 InspectContainerCmd withContainerId(String containerId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InspectContainerCmdImpl

public InspectContainerCmdImpl(InspectContainerCmd.Exec exec,
                               String containerId)
Method Detail

getContainerId

public String getContainerId()
Specified by:
getContainerId in interface InspectContainerCmd

withContainerId

public InspectContainerCmd withContainerId(String containerId)
Specified by:
withContainerId in interface InspectContainerCmd

toString

public String toString()
Overrides:
toString in class Object

exec

public InspectContainerResponse exec()
                              throws NotFoundException
Specified by:
exec in interface DockerCmd<InspectContainerResponse>
Specified by:
exec in interface InspectContainerCmd
Overrides:
exec in class AbstrDockerCmd<InspectContainerCmd,InspectContainerResponse>
Throws:
NotFoundException - No such container


Copyright © 2014. All rights reserved.