forked from docker-java/docker-java
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathExecCreateCmd.java
More file actions
38 lines (23 loc) · 879 Bytes
/
Copy pathExecCreateCmd.java
File metadata and controls
38 lines (23 loc) · 879 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package com.github.dockerjava.api.command;
import javax.annotation.CheckForNull;
import javax.annotation.Nonnull;
public interface ExecCreateCmd extends SyncDockerCmd<ExecCreateCmdResponse> {
@CheckForNull
String getContainerId();
@CheckForNull
Boolean hasAttachStderrEnabled();
@CheckForNull
Boolean hasAttachStdinEnabled();
@CheckForNull
Boolean hasAttachStdoutEnabled();
@CheckForNull
Boolean hasTtyEnabled();
ExecCreateCmd withAttachStderr(Boolean attachStderr);
ExecCreateCmd withAttachStdin(Boolean attachStdin);
ExecCreateCmd withAttachStdout(Boolean attachStdout);
ExecCreateCmd withCmd(String... cmd);
ExecCreateCmd withContainerId(@Nonnull String containerId);
ExecCreateCmd withTty(Boolean tty);
interface Exec extends DockerCmdSyncExec<ExecCreateCmd, ExecCreateCmdResponse> {
}
}