@Test public void setArguments() { FakeBuild build = new FakeBuild(); assertThat(build.arguments()).isEmpty(); build.setArguments(Arrays.asList("-Xone", "-Xtwo")); assertThat(build.arguments()).containsOnly("-Xone", "-Xtwo"); build.setArguments(Arrays.asList("-Xthree", "-Xfour")); assertThat(build.arguments()).containsOnly("-Xthree", "-Xfour"); }
public T setArguments(List<String> additionalArguments) { this.additionalArguments = additionalArguments; return (T) this; }
Build { public T setArguments(List<String> additionalArguments) { this.additionalArguments = additionalArguments; return (T) this; } }
Build { public T setArguments(List<String> additionalArguments) { this.additionalArguments = additionalArguments; return (T) this; }  }
Build { public T setArguments(List<String> additionalArguments) { this.additionalArguments = additionalArguments; return (T) this; }  long getTimeoutSeconds(); T setTimeoutSeconds(long l); Map<String, String> getProperties(); String getProperty(String key); T clearProperties(); T setProperties(Map<String, String> p); T setProperties(String... keyValues); T setProperty(String key, @Nullable String value); @Deprecated T setProfile(@Nullable String profileKey); Map<String, String> getEnvironmentVariables(); Map<String, String> getEffectiveEnvironmentVariables(); T setEnvironmentVariable(String name, String value); List<String> arguments(); T addArgument(String additionalArgument); T addArguments(String... additionalArguments); T addArguments(List<String> additionalArguments); T setArguments(List<String> additionalArguments); @Deprecated T withoutDynamicAnalysis(); }
Build { public T setArguments(List<String> additionalArguments) { this.additionalArguments = additionalArguments; return (T) this; }  long getTimeoutSeconds(); T setTimeoutSeconds(long l); Map<String, String> getProperties(); String getProperty(String key); T clearProperties(); T setProperties(Map<String, String> p); T setProperties(String... keyValues); T setProperty(String key, @Nullable String value); @Deprecated T setProfile(@Nullable String profileKey); Map<String, String> getEnvironmentVariables(); Map<String, String> getEffectiveEnvironmentVariables(); T setEnvironmentVariable(String name, String value); List<String> arguments(); T addArgument(String additionalArgument); T addArguments(String... additionalArguments); T addArguments(List<String> additionalArguments); T setArguments(List<String> additionalArguments); @Deprecated T withoutDynamicAnalysis(); static final long DEFAULT_TIMEOUT_SECONDS; }