com.github.dockerjava.api.command.ExecCreateCmd Maven / Gradle / Ivy
package com.github.dockerjava.api.command;
import java.util.List;
import javax.annotation.CheckForNull;
import javax.annotation.Nonnull;
public interface ExecCreateCmd extends SyncDockerCmd {
@CheckForNull
String getContainerId();
@CheckForNull
Boolean hasAttachStderrEnabled();
@CheckForNull
Boolean hasAttachStdinEnabled();
@CheckForNull
Boolean hasAttachStdoutEnabled();
@CheckForNull
Boolean hasTtyEnabled();
@CheckForNull
List getEnv();
@CheckForNull
String getUser();
@CheckForNull
Boolean getPrivileged();
@CheckForNull
String getWorkingDir();
ExecCreateCmd withAttachStderr(Boolean attachStderr);
ExecCreateCmd withAttachStdin(Boolean attachStdin);
ExecCreateCmd withAttachStdout(Boolean attachStdout);
ExecCreateCmd withCmd(String... cmd);
ExecCreateCmd withEnv(List env);
ExecCreateCmd withContainerId(@Nonnull String containerId);
ExecCreateCmd withTty(Boolean tty);
ExecCreateCmd withUser(String user);
ExecCreateCmd withPrivileged(Boolean isPrivileged);
ExecCreateCmd withWorkingDir(String workingDir);
interface Exec extends DockerCmdSyncExec {
}
}