@Test public void nothing() { BasicProject project = project() .with(EnvironmentConfigurator.nothing()); assertThat(project.environment().keySet(), hasSize(0)); }
public static EnvironmentConfigurator nothing() { return of(Collections.emptyMap()); }
EnvironmentConfigurator implements Consumer<BaseProject<?>> { public static EnvironmentConfigurator nothing() { return of(Collections.emptyMap()); } }
EnvironmentConfigurator implements Consumer<BaseProject<?>> { public static EnvironmentConfigurator nothing() { return of(Collections.emptyMap()); } EnvironmentConfigurator(Map<String, String> edit); }
EnvironmentConfigurator implements Consumer<BaseProject<?>> { public static EnvironmentConfigurator nothing() { return of(Collections.emptyMap()); } EnvironmentConfigurator(Map<String, String> edit); static EnvironmentConfigurator nothing(); static EnvironmentConfigurator system(); static EnvironmentConfigurator of(String name, String value); static EnvironmentConfigurator of(String name, Path path); static EnvironmentConfigurator of(Map<String, String> variables); @Override void accept(BaseProject<?> project); }
EnvironmentConfigurator implements Consumer<BaseProject<?>> { public static EnvironmentConfigurator nothing() { return of(Collections.emptyMap()); } EnvironmentConfigurator(Map<String, String> edit); static EnvironmentConfigurator nothing(); static EnvironmentConfigurator system(); static EnvironmentConfigurator of(String name, String value); static EnvironmentConfigurator of(String name, Path path); static EnvironmentConfigurator of(Map<String, String> variables); @Override void accept(BaseProject<?> project);  }