Lines Matching defs:command
32 private List<String> command;
44 * @param command
47 public ProcessBuilder(String... command) {
48 this(toList(command));
57 * @param command
60 * if {@code command} is {@code null}.
62 public ProcessBuilder(List<String> command) {
64 if (command == null) {
67 this.command = command;
80 public List<String> command() {
81 return command;
87 * @param command
91 public ProcessBuilder command(String... command) {
92 return command(toList(command));
100 * @param command
104 * if {@code command} is {@code null}.
106 public ProcessBuilder command(List<String> command) {
107 if (command == null) {
110 this.command = command;
184 * if any of the elements of {@link #command()} is {@code null}.
186 * if {@link #command()} is empty.
195 String[] cmdArray = command.toArray(new String[command.size()]);