com.github.dockerjava.core.command
Class ContainerDiffCmdImpl

java.lang.Object
  extended by com.github.dockerjava.core.command.AbstrDockerCmd<ContainerDiffCmd,List<ChangeLog>>
      extended by com.github.dockerjava.core.command.ContainerDiffCmdImpl
All Implemented Interfaces:
ContainerDiffCmd, DockerCmd<List<ChangeLog>>

public class ContainerDiffCmdImpl
extends AbstrDockerCmd<ContainerDiffCmd,List<ChangeLog>>
implements ContainerDiffCmd

Inspect changes on a container's filesystem


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.github.dockerjava.api.command.ContainerDiffCmd
ContainerDiffCmd.Exec
 
Field Summary
 
Fields inherited from class com.github.dockerjava.core.command.AbstrDockerCmd
execution
 
Constructor Summary
ContainerDiffCmdImpl(ContainerDiffCmd.Exec exec, String containerId)
           
 
Method Summary
 List<ChangeLog> exec()
           
 String getContainerId()
           
 String toString()
           
 ContainerDiffCmdImpl withContainerId(String containerId)
           
 
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

ContainerDiffCmdImpl

public ContainerDiffCmdImpl(ContainerDiffCmd.Exec exec,
                            String containerId)
Method Detail

getContainerId

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

withContainerId

public ContainerDiffCmdImpl withContainerId(String containerId)
Specified by:
withContainerId in interface ContainerDiffCmd

toString

public String toString()
Specified by:
toString in interface ContainerDiffCmd
Overrides:
toString in class Object

exec

public List<ChangeLog> exec()
                     throws NotFoundException
Specified by:
exec in interface ContainerDiffCmd
Specified by:
exec in interface DockerCmd<List<ChangeLog>>
Overrides:
exec in class AbstrDockerCmd<ContainerDiffCmd,List<ChangeLog>>
Throws:
NotFoundException - No such container
InternalServerErrorException - server error
DockerException - unexpected http status code


Copyright © 2014. All rights reserved.