Home | History | Annotate | Download | only in commands

Lines Matching full:builder

68     private Command(Builder builder) {
69 this.args = new ArrayList<String>(builder.args);
70 this.env = builder.env;
71 this.workingDirectory = builder.workingDirectory;
72 this.permitNonZeroExitStatus = builder.permitNonZeroExitStatus;
73 this.tee = builder.tee;
74 if (builder.maxLength != -1) {
76 if (string.length() > builder.maxLength) {
77 throw new IllegalStateException("Maximum command length " + builder.maxLength
81 this.nativeOutput = builder.nativeOutput;
225 public static class Builder {
234 public Builder args(Object... objects) {
241 public Builder setNativeOutput(boolean nativeOutput) {
246 public Builder args(String... args) {
250 public Builder args(Collection<String> args) {
255 public Builder env(String key, String value) {
266 public Builder workingDirectory(File workingDirectory) {
271 public Builder tee(PrintStream printStream) {
276 public Builder maxLength(int maxLength) {