forked from docker-java/docker-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathExecStartCmd.java
More file actions
45 lines (30 loc) · 1017 Bytes
/
Copy pathExecStartCmd.java
File metadata and controls
45 lines (30 loc) · 1017 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
39
40
41
42
43
44
45
package com.github.dockerjava.api.command;
import java.io.InputStream;
import javax.annotation.CheckForNull;
import javax.annotation.Nonnull;
import com.github.dockerjava.api.async.ResultCallback;
import com.github.dockerjava.api.exception.NotFoundException;
import com.github.dockerjava.api.model.Frame;
public interface ExecStartCmd extends AsyncDockerCmd<ExecStartCmd, Frame> {
@CheckForNull
String getExecId();
@CheckForNull
Boolean hasDetachEnabled();
@CheckForNull
Boolean hasTtyEnabled();
@CheckForNull
InputStream getStdin();
ExecStartCmd withDetach(Boolean detach);
ExecStartCmd withExecId(@Nonnull String execId);
ExecStartCmd withTty(Boolean tty);
ExecStartCmd withStdIn(InputStream stdin);
/**
*
* @throws NotFoundException
* No such exec instance
*/
@Override
<T extends ResultCallback<Frame>> T exec(T resultCallback);
interface Exec extends DockerCmdAsyncExec<ExecStartCmd, Frame> {
}
}