com.fitbur.github.dockerjava.api.command.KillContainerCmd Maven / Gradle / Ivy
package com.fitbur.github.dockerjava.api.com.fitburmand;
import com.fitbur.github.dockerjava.api.NotFoundException;
/**
* Kill a running container.
*/
public interface KillContainerCmd extends SyncDockerCmd {
public String getContainerId();
public String getSignal();
public KillContainerCmd withContainerId(String containerId);
public KillContainerCmd withSignal(String signal);
/**
* @throws NotFoundException
* No such container
*/
@Override
public Void exec() throws NotFoundException;
public static interface Exec extends DockerCmdSyncExec {
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy