com.github.dockerjava.client.command
Class StopContainerCmd

java.lang.Object
  extended by com.github.dockerjava.client.command.AbstrDockerCmd<StopContainerCmd,Void>
      extended by com.github.dockerjava.client.command.StopContainerCmd
All Implemented Interfaces:
DockerCmd<Void>

public class StopContainerCmd
extends AbstrDockerCmd<StopContainerCmd,Void>

Stop a running container.


Field Summary
 
Fields inherited from class com.github.dockerjava.client.command.AbstrDockerCmd
baseResource
 
Constructor Summary
StopContainerCmd(String containerId)
           
 
Method Summary
protected  Void impl()
           
 StopContainerCmd withContainerId(String containerId)
           
 StopContainerCmd withTimeout(int timeout)
           
 
Methods inherited from class com.github.dockerjava.client.command.AbstrDockerCmd
exec, withBaseResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StopContainerCmd

public StopContainerCmd(String containerId)
Method Detail

withContainerId

public StopContainerCmd withContainerId(String containerId)

withTimeout

public StopContainerCmd withTimeout(int timeout)

impl

protected Void impl()
             throws DockerException
Throws:
DockerException


Copyright © 2014. All rights reserved.