com.github.dockerjava.client.command
Class WaitContainerCmd

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

public class WaitContainerCmd
extends AbstrDockerCmd<WaitContainerCmd,Integer>

Wait for a container to exit and print its exit code


Field Summary
 
Fields inherited from class com.github.dockerjava.client.command.AbstrDockerCmd
baseResource
 
Constructor Summary
WaitContainerCmd(String containerId)
           
 
Method Summary
 String getContainerId()
           
protected  Integer impl()
           
 String toString()
           
 WaitContainerCmd withContainerId(String containerId)
           
 
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, wait, wait, wait
 

Constructor Detail

WaitContainerCmd

public WaitContainerCmd(String containerId)
Method Detail

getContainerId

public String getContainerId()

withContainerId

public WaitContainerCmd withContainerId(String containerId)

toString

public String toString()
Overrides:
toString in class Object

impl

protected Integer impl()
                throws DockerException
Throws:
DockerException


Copyright © 2014. All rights reserved.