com.fitbur.github.dockerjava.api.command.TopContainerCmd Maven / Gradle / Ivy
package com.fitbur.github.dockerjava.api.com.fitburmand;
import com.fitbur.github.dockerjava.api.NotFoundException;
/**
* List processes running inside a container
*/
public interface TopContainerCmd extends SyncDockerCmd {
public String getContainerId();
public String getPsArgs();
public TopContainerCmd withContainerId(String containerId);
public TopContainerCmd withPsArgs(String psArgs);
/**
* @throws NotFoundException
* No such container
*/
@Override
public TopContainerResponse exec() throws NotFoundException;
public static interface Exec extends DockerCmdSyncExec {
}
}