All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fitbur.github.dockerjava.api.command.WaitContainerCmd Maven / Gradle / Ivy

There is a newer version: 1.0.0
Show newest version
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