com.github.dockerjava.core.command
Class WaitContainerCmdImpl

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

public class WaitContainerCmdImpl
extends AbstrDockerCmd<WaitContainerCmd,Integer>
implements WaitContainerCmd

Wait a container Block until container stops, then returns its exit code


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

Constructor Detail

WaitContainerCmdImpl

public WaitContainerCmdImpl(WaitContainerCmd.Exec exec,
                            String containerId)
Method Detail

getContainerId

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

withContainerId

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014. All rights reserved.