/
RunCommandActionBuildItem.java
50 lines (40 loc) · 1.26 KB
/
RunCommandActionBuildItem.java
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
package io.quarkus.deployment.cmd;
import java.nio.file.Path;
import java.util.List;
import io.quarkus.builder.item.MultiBuildItem;
public final class RunCommandActionBuildItem extends MultiBuildItem {
private final String commandName;
private final List<String> args;
private Path workingDirectory;
private String startedExpression;
private Path logFile;
private boolean needsLogfile;
public RunCommandActionBuildItem(String commandName, List<String> args, Path workingDirectory, String startedExpression,
Path logFile,
boolean needsLogfile) {
this.args = args;
this.commandName = commandName;
this.workingDirectory = workingDirectory;
this.startedExpression = startedExpression;
this.logFile = logFile;
this.needsLogfile = needsLogfile;
}
public String getCommandName() {
return commandName;
}
public String getStartedExpression() {
return startedExpression;
}
public Path getWorkingDirectory() {
return workingDirectory;
}
public List<String> getArgs() {
return args;
}
public Path getLogFile() {
return logFile;
}
public boolean isNeedsLogfile() {
return needsLogfile;
}
}