com.github.dockerjava.core.command
Class ContainerDiffCmdImpl
java.lang.Object
com.github.dockerjava.core.command.AbstrDockerCmd<ContainerDiffCmd,List<ChangeLog>>
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
ContainerDiffCmdImpl
public ContainerDiffCmdImpl(ContainerDiffCmd.Exec exec,
String containerId)
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.