Home | History | Annotate | Download | only in commands

Lines Matching defs:args

47     private final List<String> args;
55 public Command(String... args) {
56 this(Arrays.asList(args));
59 public Command(List<String> args) {
60 this.args = new ArrayList<String>(args);
69 this.args = new ArrayList<String>(builder.args);
92 .command(args)
140 throw new CommandFailedException(args, outputLines);
151 throw new RuntimeException("Failed to execute process: " + args, e);
153 throw new RuntimeException("Interrupted while executing process: " + args, e);
173 throw new RuntimeException("Interrupted while executing process: " + args, e);
222 return envString + Strings.join(args, " ");
226 private final List<String> args = new ArrayList<String>();
234 public Builder args(Object... objects) {
236 args(object.toString());
246 public Builder args(String... args) {
247 return args(Arrays.asList(args));
250 public Builder args(Collection<String> args) {
251 this.args.addAll(args);