public Builder forApplications(Path first, Path... theRest) { checkUnset(applications, "applications"); ImmutableList<Path> paths = ImmutableList.<Path>builder().add(first).add(theRest).build(); this.applications = NonNullableField.<List<Path>>of(paths); return this; }
public Builder withClassLoader(ClassLoader classLoader) { checkUnset(this.classLoader, "class loader"); this.classLoader = NonNullableField.of(classLoader); return this; }
public Builder withSourceCodeRoot(Path sourceCodeRoot) { checkUnset(this.sourceCodeRoot, "source code root"); this.sourceCodeRoot = NonNullableField.of(sourceCodeRoot); return this; }
public Builder withClassLoader(ClassLoader classLoader) { checkUnset(this.classLoader, "class loader"); this.classLoader = NonNullableField.of(classLoader); return this; }
public Builder withClassLoader(ClassLoader classLoader) { checkUnset(this.classLoader, "class loader"); this.classLoader = NonNullableField.of(classLoader); return this; }
public Builder withRamlOutputFile(Path ramlOutputFile) { checkUnset(this.ramlOutputFile, "raml output file"); this.ramlOutputFile = NonNullableField.of(ramlOutputFile); return this; }
public Builder withRamlConfiguration(RamlConfiguration ramlConfiguration) { checkUnset(this.ramlConfiguration, "raml configuration"); this.ramlConfiguration = NonNullableField.of(ramlConfiguration); return this; }
public Builder forApplications(Path first, Path... theRest) { checkUnset(applications, "applications"); ImmutableList<Path> paths = ImmutableList.<Path>builder().add(first).add(theRest).build(); this.applications = NonNullableField.<List<Path>>of(paths); return this; }
public Builder withJaxRsClassesRoot(Path jaxRsClassesRoot) { checkUnset(this.jaxRsClassesRoot, "classes root"); this.jaxRsClassesRoot = NonNullableField.of(jaxRsClassesRoot); return this; }
public Builder forApplications(Path first, Path... theRest) { checkUnset(applications, "applications"); ImmutableList<Path> paths = ImmutableList.<Path>builder().add(first).add(theRest).build(); this.applications = NonNullableField.<List<Path>>of(paths); return this; }
public static <T> NonNullableField<T> ofNullable(T value) { return value == null ? NonNullableField.<T>unset() : of(value); }
public static <T> NonNullableField<T> ofNullable(T value) { return value == null ? NonNullableField.<T>unset() : of(value); }
public static <T> NonNullableField<T> ofNullable(T value) { return value == null ? NonNullableField.<T>unset() : of(value); }