com.github.dockerjava.api.command
Interface TopContainerCmd

All Superinterfaces:
DockerCmd<TopContainerResponse>
All Known Implementing Classes:
TopContainerCmdImpl

public interface TopContainerCmd
extends DockerCmd<TopContainerResponse>

List processes running inside a container


Nested Class Summary
static interface TopContainerCmd.Exec
           
 
Method Summary
 TopContainerResponse exec()
           
 String getContainerId()
           
 String getPsArgs()
           
 TopContainerCmd withContainerId(String containerId)
           
 TopContainerCmd withPsArgs(String psArgs)
           
 

Method Detail

getContainerId

String getContainerId()

getPsArgs

String getPsArgs()

withContainerId

TopContainerCmd withContainerId(String containerId)

withPsArgs

TopContainerCmd withPsArgs(String psArgs)

exec

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


Copyright © 2014. All rights reserved.