■ ■ ■ ■ ■ ■
src/main/java/io/onedev/k8shelper/CommandExecutable.java
| skipped 9 lines |
10 | 10 | | |
11 | 11 | | private final List<String> commands; |
12 | 12 | | |
13 | | - | public CommandExecutable(String image, List<String> commands) { |
| 13 | + | private final boolean useTTY; |
| 14 | + | |
| 15 | + | public CommandExecutable(String image, List<String> commands, boolean useTTY) { |
14 | 16 | | this.image = image; |
15 | 17 | | this.commands = commands; |
| 18 | + | this.useTTY = useTTY; |
16 | 19 | | } |
17 | 20 | | |
18 | 21 | | public String getImage() { |
| skipped 2 lines |
21 | 24 | | |
22 | 25 | | public List<String> getCommands() { |
23 | 26 | | return commands; |
| 27 | + | } |
| 28 | + | |
| 29 | + | public boolean isUseTTY() { |
| 30 | + | return useTTY; |
24 | 31 | | } |
25 | 32 | | |
26 | 33 | | } |
| skipped 1 lines |