com.github.dockerjava.api.command
Interface WaitContainerCmd

All Superinterfaces:
DockerCmd<Integer>
All Known Implementing Classes:
WaitContainerCmdImpl

public interface WaitContainerCmd
extends DockerCmd<Integer>

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


Nested Class Summary
static interface WaitContainerCmd.Exec
           
 
Method Summary
 Integer exec()
           
 String getContainerId()
           
 WaitContainerCmd withContainerId(String containerId)
           
 

Method Detail

getContainerId

String getContainerId()

withContainerId

WaitContainerCmd withContainerId(String containerId)

exec

Integer exec()
             throws NotFoundException
Specified by:
exec in interface DockerCmd<Integer>
Throws:
NotFoundException - container not found


Copyright © 2014. All Rights Reserved.