
org.testifyproject.github.dockerjava.api.command.WaitContainerCmd Maven / Gradle / Ivy
package org.testifyproject.testifyproject.github.dockerjava.api.org.testifyproject.testifyprojectmand;
import javax.annotation.CheckForNull;
import javax.annotation.Nonnull;
import org.testifyproject.testifyproject.github.dockerjava.api.async.ResultCallback;
import org.testifyproject.testifyproject.github.dockerjava.api.exception.NotFoundException;
import org.testifyproject.testifyproject.github.dockerjava.api.model.WaitResponse;
/**
* Wait a container
*
* Block until container stops, then returns its exit code
*/
public interface WaitContainerCmd extends AsyncDockerCmd {
@CheckForNull
String getContainerId();
WaitContainerCmd withContainerId(@Nonnull String containerId);
/**
* @throws NotFoundException
* container not found
*/
@Override
> T exec(T resultCallback);
interface Exec extends DockerCmdAsyncExec {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy