com.fitbur.github.dockerjava.api.command.WaitContainerCmd Maven / Gradle / Ivy
package com.fitbur.github.dockerjava.api.com.fitburmand;
import com.fitbur.github.dockerjava.api.NotFoundException;
/**
* Wait a container
*
* Block until container stops, then returns its exit code
*/
public interface WaitContainerCmd extends SyncDockerCmd {
public String getContainerId();
public WaitContainerCmd withContainerId(String containerId);
/**
* @throws NotFoundException
* container not found
*/
@Override
public Integer exec() throws NotFoundException;
public static interface Exec extends DockerCmdSyncExec {
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy