com.github.dockerjava.api.command
Interface RestartContainerCmd

All Superinterfaces:
DockerCmd<Void>
All Known Implementing Classes:
RestartContainerCmdImpl

public interface RestartContainerCmd
extends DockerCmd<Void>

Restart a running container.


Nested Class Summary
static interface RestartContainerCmd.Exec
           
 
Method Summary
 Void exec()
           
 String getContainerId()
           
 int getTimeout()
           
 RestartContainerCmd withContainerId(String containerId)
           
 RestartContainerCmd withtTimeout(int timeout)
           
 

Method Detail

getContainerId

String getContainerId()

getTimeout

int getTimeout()

withContainerId

RestartContainerCmd withContainerId(String containerId)

withtTimeout

RestartContainerCmd withtTimeout(int timeout)

exec

Void exec()
          throws NotFoundException
Specified by:
exec in interface DockerCmd<Void>
Throws:
NotFoundException - No such container


Copyright © 2014. All Rights Reserved.