forked from docker-java/docker-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLogSwarmObjectImpl.java
More file actions
121 lines (97 loc) · 2.66 KB
/
Copy pathLogSwarmObjectImpl.java
File metadata and controls
121 lines (97 loc) · 2.66 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
package com.github.dockerjava.core.command;
import com.github.dockerjava.api.command.DockerCmdAsyncExec;
import com.github.dockerjava.api.command.LogSwarmObjectCmd;
import com.github.dockerjava.api.model.Frame;
import javax.annotation.Nonnull;
public class LogSwarmObjectImpl extends AbstrAsyncDockerCmd<LogSwarmObjectCmd, Frame> implements LogSwarmObjectCmd {
private String id;
private Boolean followStream;
private Boolean timestamps;
private Boolean stdout;
private Boolean stderr;
private Boolean tailAll;
private Boolean follow;
private Integer tail;
private Integer since;
private Boolean details;
public LogSwarmObjectImpl(DockerCmdAsyncExec<LogSwarmObjectCmd, Frame> execution, String id) {
super(execution);
this.id = id;
}
@Override
public LogSwarmObjectImpl withId(@Nonnull String id) {
this.id = id;
return this;
}
public String getId() {
return id;
}
public Boolean getFollowStream() {
return followStream;
}
public LogSwarmObjectImpl withFollowStream(Boolean followStream) {
this.followStream = followStream;
return this;
}
public Boolean getTimestamps() {
return timestamps;
}
@Override
public LogSwarmObjectImpl withTimestamps(Boolean timestamps) {
this.timestamps = timestamps;
return this;
}
public Boolean getStdout() {
return stdout;
}
public LogSwarmObjectImpl withStdout(Boolean stdout) {
this.stdout = stdout;
return this;
}
public Boolean getStderr() {
return stderr;
}
public LogSwarmObjectImpl withStderr(Boolean stderr) {
this.stderr = stderr;
return this;
}
public Boolean getTailAll() {
return tailAll;
}
public LogSwarmObjectImpl withTailAll(Boolean tailAll) {
this.tailAll = tailAll;
return this;
}
public Integer getTail() {
return tail;
}
@Override
public LogSwarmObjectImpl withTail(Integer tail) {
this.tail = tail;
return this;
}
public Integer getSince() {
return since;
}
@Override
public LogSwarmObjectImpl withSince(Integer since) {
this.since = since;
return this;
}
public Boolean getFollow() {
return follow;
}
@Override
public LogSwarmObjectImpl withFollow(Boolean follow) {
this.follow = follow;
return this;
}
@Override
public LogSwarmObjectCmd withDetails(Boolean details) {
this.details = details;
return this;
}
public Boolean getDetails() {
return details;
}
}