@NotThreadSafe public static final class GroovyTestDescriptionArg.Builder extends Object
GroovyTestDescriptionArg
.
Initialize attributes and then invoke the build()
method to create an
immutable instance.
Builder
is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
public final GroovyTestDescriptionArg.Builder from(HasDeclaredDeps instance)
com.facebook.buck.core.description.arg.HasDeclaredDeps
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder from(HasTestTimeout instance)
com.facebook.buck.core.description.arg.HasTestTimeout
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder from(GroovyLibraryDescription.CoreArg instance)
com.facebook.buck.jvm.groovy.GroovyLibraryDescription.CoreArg
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder from(HasSrcs instance)
com.facebook.buck.core.description.arg.HasSrcs
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder from(ConstructorArg instance)
com.facebook.buck.core.description.arg.ConstructorArg
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder from(JavaTestDescription.CoreArg instance)
com.facebook.buck.jvm.java.JavaTestDescription.CoreArg
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder from(MaybeRequiredForSourceOnlyAbiArg instance)
com.facebook.buck.jvm.java.MaybeRequiredForSourceOnlyAbiArg
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder from(HasProvidedDeps instance)
com.facebook.buck.core.description.arg.HasProvidedDeps
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder from(JavaLibraryDescription.CoreArg instance)
com.facebook.buck.jvm.java.JavaLibraryDescription.CoreArg
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder from(HasTests instance)
com.facebook.buck.core.description.arg.HasTests
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder from(JvmLibraryArg instance)
com.facebook.buck.jvm.java.JvmLibraryArg
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder from(BuildRuleArg instance)
com.facebook.buck.core.description.arg.BuildRuleArg
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder from(HasContacts instance)
com.facebook.buck.core.description.arg.HasContacts
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder from(GroovyTestDescriptionArg instance)
GroovyTestDescriptionArg
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder from(com.facebook.buck.jvm.groovy.GroovyTestDescription.AbstractGroovyTestDescriptionArg instance)
AbstractGroovyTestDescriptionArg
instance into builder.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addExtraGroovycArguments(String element)
extraGroovycArguments
list.element
- A extraGroovycArguments elementthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addExtraGroovycArguments(String... elements)
extraGroovycArguments
list.elements
- An array of extraGroovycArguments elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setExtraGroovycArguments(Iterable<String> elements)
extraGroovycArguments
list.elements
- An iterable of extraGroovycArguments elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addAllExtraGroovycArguments(Iterable<String> elements)
extraGroovycArguments
list.elements
- An iterable of extraGroovycArguments elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addResources(SourcePath element)
resources
sortedSet.element
- A resources elementthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addResources(SourcePath... elements)
resources
sortedSet.elements
- An array of resources elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setResources(Iterable<? extends SourcePath> elements)
resources
sortedSet.elements
- An iterable of resources elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addAllResources(Iterable<? extends SourcePath> elements)
resources
sortedSet.elements
- An iterable of resources elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setProguardConfig(SourcePath proguardConfig)
proguardConfig
to proguardConfig.proguardConfig
- The value for proguardConfigthis
builder for chained invocationpublic final GroovyTestDescriptionArg.Builder setProguardConfig(Optional<? extends SourcePath> proguardConfig)
proguardConfig
to proguardConfig.proguardConfig
- The value for proguardConfigthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addPostprocessClassesCommands(String element)
postprocessClassesCommands
list.element
- A postprocessClassesCommands elementthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addPostprocessClassesCommands(String... elements)
postprocessClassesCommands
list.elements
- An array of postprocessClassesCommands elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setPostprocessClassesCommands(Iterable<String> elements)
postprocessClassesCommands
list.elements
- An iterable of postprocessClassesCommands elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addAllPostprocessClassesCommands(Iterable<String> elements)
postprocessClassesCommands
list.elements
- An iterable of postprocessClassesCommands elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setResourcesRoot(Path resourcesRoot)
resourcesRoot
to resourcesRoot.resourcesRoot
- The value for resourcesRootthis
builder for chained invocationpublic final GroovyTestDescriptionArg.Builder setResourcesRoot(Optional<? extends Path> resourcesRoot)
resourcesRoot
to resourcesRoot.resourcesRoot
- The value for resourcesRootthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setUnbundledResourcesRoot(SourcePath unbundledResourcesRoot)
unbundledResourcesRoot
to unbundledResourcesRoot.unbundledResourcesRoot
- The value for unbundledResourcesRootthis
builder for chained invocationpublic final GroovyTestDescriptionArg.Builder setUnbundledResourcesRoot(Optional<? extends SourcePath> unbundledResourcesRoot)
unbundledResourcesRoot
to unbundledResourcesRoot.unbundledResourcesRoot
- The value for unbundledResourcesRootthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setManifestFile(SourcePath manifestFile)
manifestFile
to manifestFile.manifestFile
- The value for manifestFilethis
builder for chained invocationpublic final GroovyTestDescriptionArg.Builder setManifestFile(Optional<? extends SourcePath> manifestFile)
manifestFile
to manifestFile.manifestFile
- The value for manifestFilethis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setMavenCoords(String mavenCoords)
mavenCoords
to mavenCoords.mavenCoords
- The value for mavenCoordsthis
builder for chained invocationpublic final GroovyTestDescriptionArg.Builder setMavenCoords(Optional<String> mavenCoords)
mavenCoords
to mavenCoords.mavenCoords
- The value for mavenCoordsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setMavenPomTemplate(SourcePath mavenPomTemplate)
mavenPomTemplate
to mavenPomTemplate.mavenPomTemplate
- The value for mavenPomTemplatethis
builder for chained invocationpublic final GroovyTestDescriptionArg.Builder setMavenPomTemplate(Optional<? extends SourcePath> mavenPomTemplate)
mavenPomTemplate
to mavenPomTemplate.mavenPomTemplate
- The value for mavenPomTemplatethis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addExportedDeps(BuildTarget element)
exportedDeps
sortedSet.element
- A exportedDeps elementthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addExportedDeps(BuildTarget... elements)
exportedDeps
sortedSet.elements
- An array of exportedDeps elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setExportedDeps(Iterable<? extends BuildTarget> elements)
exportedDeps
sortedSet.elements
- An iterable of exportedDeps elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addAllExportedDeps(Iterable<? extends BuildTarget> elements)
exportedDeps
sortedSet.elements
- An iterable of exportedDeps elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addSourceOnlyAbiDeps(BuildTarget element)
sourceOnlyAbiDeps
sortedSet.element
- A sourceOnlyAbiDeps elementthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addSourceOnlyAbiDeps(BuildTarget... elements)
sourceOnlyAbiDeps
sortedSet.elements
- An array of sourceOnlyAbiDeps elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setSourceOnlyAbiDeps(Iterable<? extends BuildTarget> elements)
sourceOnlyAbiDeps
sortedSet.elements
- An iterable of sourceOnlyAbiDeps elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addAllSourceOnlyAbiDeps(Iterable<? extends BuildTarget> elements)
sourceOnlyAbiDeps
sortedSet.elements
- An iterable of sourceOnlyAbiDeps elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addRuntimeDeps(BuildTarget element)
runtimeDeps
sortedSet.element
- A runtimeDeps elementthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addRuntimeDeps(BuildTarget... elements)
runtimeDeps
sortedSet.elements
- An array of runtimeDeps elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setRuntimeDeps(Iterable<? extends BuildTarget> elements)
runtimeDeps
sortedSet.elements
- An iterable of runtimeDeps elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addAllRuntimeDeps(Iterable<? extends BuildTarget> elements)
runtimeDeps
sortedSet.elements
- An iterable of runtimeDeps elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setSource(String source)
source
to source.source
- The value for sourcethis
builder for chained invocationpublic final GroovyTestDescriptionArg.Builder setSource(Optional<String> source)
source
to source.source
- The value for sourcethis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setTarget(String target)
target
to target.target
- The value for targetthis
builder for chained invocationpublic final GroovyTestDescriptionArg.Builder setTarget(Optional<String> target)
target
to target.target
- The value for targetthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setJavaVersion(String javaVersion)
javaVersion
to javaVersion.javaVersion
- The value for javaVersionthis
builder for chained invocationpublic final GroovyTestDescriptionArg.Builder setJavaVersion(Optional<String> javaVersion)
javaVersion
to javaVersion.javaVersion
- The value for javaVersionthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setJavac(SourcePath javac)
javac
to javac.javac
- The value for javacthis
builder for chained invocationpublic final GroovyTestDescriptionArg.Builder setJavac(Optional<? extends SourcePath> javac)
javac
to javac.javac
- The value for javacthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setJavacJar(SourcePath javacJar)
javacJar
to javacJar.javacJar
- The value for javacJarthis
builder for chained invocationpublic final GroovyTestDescriptionArg.Builder setJavacJar(Optional<? extends SourcePath> javacJar)
javacJar
to javacJar.javacJar
- The value for javacJarthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setCompilerClassName(String compilerClassName)
compilerClassName
to compilerClassName.compilerClassName
- The value for compilerClassNamethis
builder for chained invocationpublic final GroovyTestDescriptionArg.Builder setCompilerClassName(Optional<String> compilerClassName)
compilerClassName
to compilerClassName.compilerClassName
- The value for compilerClassNamethis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setCompiler(Either<BuiltInJavac,SourcePath> compiler)
compiler
to compiler.compiler
- The value for compilerthis
builder for chained invocationpublic final GroovyTestDescriptionArg.Builder setCompiler(Optional<? extends Either<BuiltInJavac,SourcePath>> compiler)
compiler
to compiler.compiler
- The value for compilerthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addExtraArguments(String element)
extraArguments
list.element
- A extraArguments elementthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addExtraArguments(String... elements)
extraArguments
list.elements
- An array of extraArguments elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setExtraArguments(Iterable<String> elements)
extraArguments
list.elements
- An iterable of extraArguments elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addAllExtraArguments(Iterable<String> elements)
extraArguments
list.elements
- An iterable of extraArguments elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addRemoveClasses(Pattern element)
removeClasses
set.element
- A removeClasses elementthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addRemoveClasses(Pattern... elements)
removeClasses
set.elements
- An array of removeClasses elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setRemoveClasses(Iterable<? extends Pattern> elements)
removeClasses
set.elements
- An iterable of removeClasses elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addAllRemoveClasses(Iterable<? extends Pattern> elements)
removeClasses
set.elements
- An iterable of removeClasses elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addAnnotationProcessorDeps(BuildTarget element)
annotationProcessorDeps
sortedSet.element
- A annotationProcessorDeps elementthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addAnnotationProcessorDeps(BuildTarget... elements)
annotationProcessorDeps
sortedSet.elements
- An array of annotationProcessorDeps elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setAnnotationProcessorDeps(Iterable<? extends BuildTarget> elements)
annotationProcessorDeps
sortedSet.elements
- An iterable of annotationProcessorDeps elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addAllAnnotationProcessorDeps(Iterable<? extends BuildTarget> elements)
annotationProcessorDeps
sortedSet.elements
- An iterable of annotationProcessorDeps elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addAnnotationProcessorParams(String element)
annotationProcessorParams
list.element
- A annotationProcessorParams elementthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addAnnotationProcessorParams(String... elements)
annotationProcessorParams
list.elements
- An array of annotationProcessorParams elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setAnnotationProcessorParams(Iterable<String> elements)
annotationProcessorParams
list.elements
- An iterable of annotationProcessorParams elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addAllAnnotationProcessorParams(Iterable<String> elements)
annotationProcessorParams
list.elements
- An iterable of annotationProcessorParams elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addJavaPluginParams(String element)
javaPluginParams
list.element
- A javaPluginParams elementthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addJavaPluginParams(String... elements)
javaPluginParams
list.elements
- An array of javaPluginParams elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setJavaPluginParams(Iterable<String> elements)
javaPluginParams
list.elements
- An iterable of javaPluginParams elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addAllJavaPluginParams(Iterable<String> elements)
javaPluginParams
list.elements
- An iterable of javaPluginParams elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addAnnotationProcessors(String element)
annotationProcessors
set.element
- A annotationProcessors elementthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addAnnotationProcessors(String... elements)
annotationProcessors
set.elements
- An array of annotationProcessors elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setAnnotationProcessors(Iterable<String> elements)
annotationProcessors
set.elements
- An iterable of annotationProcessors elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addAllAnnotationProcessors(Iterable<String> elements)
annotationProcessors
set.elements
- An iterable of annotationProcessors elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setAnnotationProcessorOnly(boolean annotationProcessorOnly)
annotationProcessorOnly
to annotationProcessorOnly.annotationProcessorOnly
- The value for annotationProcessorOnlythis
builder for chained invocationpublic final GroovyTestDescriptionArg.Builder setAnnotationProcessorOnly(Optional<Boolean> annotationProcessorOnly)
annotationProcessorOnly
to annotationProcessorOnly.annotationProcessorOnly
- The value for annotationProcessorOnlythis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addPlugins(BuildTarget element)
plugins
list.element
- A plugins elementthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addPlugins(BuildTarget... elements)
plugins
list.elements
- An array of plugins elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setPlugins(Iterable<? extends BuildTarget> elements)
plugins
list.elements
- An iterable of plugins elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addAllPlugins(Iterable<? extends BuildTarget> elements)
plugins
list.elements
- An iterable of plugins elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setCompileAgainst(CompileAgainstLibraryType compileAgainst)
compileAgainst
to compileAgainst.compileAgainst
- The value for compileAgainstthis
builder for chained invocationpublic final GroovyTestDescriptionArg.Builder setCompileAgainst(Optional<? extends CompileAgainstLibraryType> compileAgainst)
compileAgainst
to compileAgainst.compileAgainst
- The value for compileAgainstthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setSourceAbiVerificationMode(JavaBuckConfig.SourceAbiVerificationMode sourceAbiVerificationMode)
sourceAbiVerificationMode
to sourceAbiVerificationMode.sourceAbiVerificationMode
- The value for sourceAbiVerificationModethis
builder for chained invocationpublic final GroovyTestDescriptionArg.Builder setSourceAbiVerificationMode(Optional<? extends JavaBuckConfig.SourceAbiVerificationMode> sourceAbiVerificationMode)
sourceAbiVerificationMode
to sourceAbiVerificationMode.sourceAbiVerificationMode
- The value for sourceAbiVerificationModethis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setOnUnusedDependencies(JavaBuckConfig.UnusedDependenciesAction onUnusedDependencies)
onUnusedDependencies
to onUnusedDependencies.onUnusedDependencies
- The value for onUnusedDependenciesthis
builder for chained invocationpublic final GroovyTestDescriptionArg.Builder setOnUnusedDependencies(Optional<? extends JavaBuckConfig.UnusedDependenciesAction> onUnusedDependencies)
onUnusedDependencies
to onUnusedDependencies.onUnusedDependencies
- The value for onUnusedDependenciesthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setNeverMarkAsUnusedDependency(boolean neverMarkAsUnusedDependency)
neverMarkAsUnusedDependency
to neverMarkAsUnusedDependency.neverMarkAsUnusedDependency
- The value for neverMarkAsUnusedDependencythis
builder for chained invocationpublic final GroovyTestDescriptionArg.Builder setNeverMarkAsUnusedDependency(Optional<Boolean> neverMarkAsUnusedDependency)
neverMarkAsUnusedDependency
to neverMarkAsUnusedDependency.neverMarkAsUnusedDependency
- The value for neverMarkAsUnusedDependencythis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addLicenses(SourcePath element)
licenses
set.element
- A licenses elementthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addLicenses(SourcePath... elements)
licenses
set.elements
- An array of licenses elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setLicenses(Iterable<? extends SourcePath> elements)
licenses
set.elements
- An iterable of licenses elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addAllLicenses(Iterable<? extends SourcePath> elements)
licenses
set.elements
- An iterable of licenses elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addLabels(String element)
labels
sortedSet.element
- A labels elementthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addLabels(String... elements)
labels
sortedSet.elements
- An array of labels elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setLabels(Iterable<String> elements)
labels
sortedSet.elements
- An iterable of labels elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addAllLabels(Iterable<String> elements)
labels
sortedSet.elements
- An iterable of labels elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setDefaultTargetPlatform(UnconfiguredBuildTarget defaultTargetPlatform)
defaultTargetPlatform
to defaultTargetPlatform.defaultTargetPlatform
- The value for defaultTargetPlatformthis
builder for chained invocationpublic final GroovyTestDescriptionArg.Builder setDefaultTargetPlatform(Optional<? extends UnconfiguredBuildTarget> defaultTargetPlatform)
defaultTargetPlatform
to defaultTargetPlatform.defaultTargetPlatform
- The value for defaultTargetPlatformthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addCompatibleWith(UnconfiguredBuildTarget element)
compatibleWith
list.element
- A compatibleWith elementthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addCompatibleWith(UnconfiguredBuildTarget... elements)
compatibleWith
list.elements
- An array of compatibleWith elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setCompatibleWith(Iterable<? extends UnconfiguredBuildTarget> elements)
compatibleWith
list.elements
- An iterable of compatibleWith elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addAllCompatibleWith(Iterable<? extends UnconfiguredBuildTarget> elements)
compatibleWith
list.elements
- An iterable of compatibleWith elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setName(String name)
name
attribute.name
- The value for namethis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setRequiredForSourceOnlyAbi(boolean requiredForSourceOnlyAbi)
requiredForSourceOnlyAbi
attribute.
If not set, this attribute will have a default value as returned by the initializer of requiredForSourceOnlyAbi
.
requiredForSourceOnlyAbi
- The value for requiredForSourceOnlyAbithis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addDeps(BuildTarget element)
deps
sortedSet.element
- A deps elementthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addDeps(BuildTarget... elements)
deps
sortedSet.elements
- An array of deps elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setDeps(Iterable<? extends BuildTarget> elements)
deps
sortedSet.elements
- An iterable of deps elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addAllDeps(Iterable<? extends BuildTarget> elements)
deps
sortedSet.elements
- An iterable of deps elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addProvidedDeps(BuildTarget element)
providedDeps
sortedSet.element
- A providedDeps elementthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addProvidedDeps(BuildTarget... elements)
providedDeps
sortedSet.elements
- An array of providedDeps elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setProvidedDeps(Iterable<? extends BuildTarget> elements)
providedDeps
sortedSet.elements
- An iterable of providedDeps elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addAllProvidedDeps(Iterable<? extends BuildTarget> elements)
providedDeps
sortedSet.elements
- An iterable of providedDeps elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addExportedProvidedDeps(BuildTarget element)
exportedProvidedDeps
sortedSet.element
- A exportedProvidedDeps elementthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addExportedProvidedDeps(BuildTarget... elements)
exportedProvidedDeps
sortedSet.elements
- An array of exportedProvidedDeps elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setExportedProvidedDeps(Iterable<? extends BuildTarget> elements)
exportedProvidedDeps
sortedSet.elements
- An iterable of exportedProvidedDeps elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addAllExportedProvidedDeps(Iterable<? extends BuildTarget> elements)
exportedProvidedDeps
sortedSet.elements
- An iterable of exportedProvidedDeps elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addSrcs(SourcePath element)
srcs
sortedSet.element
- A srcs elementthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addSrcs(SourcePath... elements)
srcs
sortedSet.elements
- An array of srcs elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setSrcs(Iterable<? extends SourcePath> elements)
srcs
sortedSet.elements
- An iterable of srcs elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addAllSrcs(Iterable<? extends SourcePath> elements)
srcs
sortedSet.elements
- An iterable of srcs elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addTests(BuildTarget element)
tests
sortedSet.element
- A tests elementthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addTests(BuildTarget... elements)
tests
sortedSet.elements
- An array of tests elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setTests(Iterable<? extends BuildTarget> elements)
tests
sortedSet.elements
- An iterable of tests elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addAllTests(Iterable<? extends BuildTarget> elements)
tests
sortedSet.elements
- An iterable of tests elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addVmArgs(StringWithMacros element)
vmArgs
list.element
- A vmArgs elementthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addVmArgs(StringWithMacros... elements)
vmArgs
list.elements
- An array of vmArgs elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setVmArgs(Iterable<? extends StringWithMacros> elements)
vmArgs
list.elements
- An iterable of vmArgs elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addAllVmArgs(Iterable<? extends StringWithMacros> elements)
vmArgs
list.elements
- An iterable of vmArgs elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setTestType(TestType testType)
testType
to testType.testType
- The value for testTypethis
builder for chained invocationpublic final GroovyTestDescriptionArg.Builder setTestType(Optional<? extends TestType> testType)
testType
to testType.testType
- The value for testTypethis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setRunTestSeparately(boolean runTestSeparately)
runTestSeparately
attribute.
If not set, this attribute will have a default value as returned by the initializer of runTestSeparately
.
runTestSeparately
- The value for runTestSeparatelythis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setForkMode(ForkMode forkMode)
forkMode
attribute.
If not set, this attribute will have a default value as returned by the initializer of forkMode
.
forkMode
- The value for forkModethis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setStdErrLogLevel(Level stdErrLogLevel)
stdErrLogLevel
to stdErrLogLevel.stdErrLogLevel
- The value for stdErrLogLevelthis
builder for chained invocationpublic final GroovyTestDescriptionArg.Builder setStdErrLogLevel(Optional<? extends Level> stdErrLogLevel)
stdErrLogLevel
to stdErrLogLevel.stdErrLogLevel
- The value for stdErrLogLevelthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setStdOutLogLevel(Level stdOutLogLevel)
stdOutLogLevel
to stdOutLogLevel.stdOutLogLevel
- The value for stdOutLogLevelthis
builder for chained invocationpublic final GroovyTestDescriptionArg.Builder setStdOutLogLevel(Optional<? extends Level> stdOutLogLevel)
stdOutLogLevel
to stdOutLogLevel.stdOutLogLevel
- The value for stdOutLogLevelthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setUseCxxLibraries(boolean useCxxLibraries)
useCxxLibraries
to useCxxLibraries.useCxxLibraries
- The value for useCxxLibrariesthis
builder for chained invocationpublic final GroovyTestDescriptionArg.Builder setUseCxxLibraries(Optional<Boolean> useCxxLibraries)
useCxxLibraries
to useCxxLibraries.useCxxLibraries
- The value for useCxxLibrariesthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addCxxLibraryWhitelist(BuildTarget element)
cxxLibraryWhitelist
set.element
- A cxxLibraryWhitelist elementthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addCxxLibraryWhitelist(BuildTarget... elements)
cxxLibraryWhitelist
set.elements
- An array of cxxLibraryWhitelist elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setCxxLibraryWhitelist(Iterable<? extends BuildTarget> elements)
cxxLibraryWhitelist
set.elements
- An iterable of cxxLibraryWhitelist elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addAllCxxLibraryWhitelist(Iterable<? extends BuildTarget> elements)
cxxLibraryWhitelist
set.elements
- An iterable of cxxLibraryWhitelist elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setTestCaseTimeoutMs(long testCaseTimeoutMs)
testCaseTimeoutMs
to testCaseTimeoutMs.testCaseTimeoutMs
- The value for testCaseTimeoutMsthis
builder for chained invocationpublic final GroovyTestDescriptionArg.Builder setTestCaseTimeoutMs(Optional<Long> testCaseTimeoutMs)
testCaseTimeoutMs
to testCaseTimeoutMs.testCaseTimeoutMs
- The value for testCaseTimeoutMsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder putEnv(String key, StringWithMacros value)
env
map.key
- The key in the env mapvalue
- The associated value in the env mapthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder putEnv(Map.Entry<String,? extends StringWithMacros> entry)
env
map. Nulls are not permittedentry
- The key and value entrythis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setEnv(Map<String,? extends StringWithMacros> entries)
env
map. Nulls are not permittedentries
- The entries that will be added to the env mapthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder putAllEnv(Map<String,? extends StringWithMacros> entries)
env
map. Nulls are not permittedentries
- The entries that will be added to the env mapthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setDefaultCxxPlatform(Flavor defaultCxxPlatform)
defaultCxxPlatform
to defaultCxxPlatform.defaultCxxPlatform
- The value for defaultCxxPlatformthis
builder for chained invocationpublic final GroovyTestDescriptionArg.Builder setDefaultCxxPlatform(Optional<? extends Flavor> defaultCxxPlatform)
defaultCxxPlatform
to defaultCxxPlatform.defaultCxxPlatform
- The value for defaultCxxPlatformthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addContacts(String element)
contacts
sortedSet.element
- A contacts elementthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addContacts(String... elements)
contacts
sortedSet.elements
- An array of contacts elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setContacts(Iterable<String> elements)
contacts
sortedSet.elements
- An iterable of contacts elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder addAllContacts(Iterable<String> elements)
contacts
sortedSet.elements
- An iterable of contacts elementsthis
builder for use in a chained invocationpublic final GroovyTestDescriptionArg.Builder setTestRuleTimeoutMs(long testRuleTimeoutMs)
testRuleTimeoutMs
to testRuleTimeoutMs.testRuleTimeoutMs
- The value for testRuleTimeoutMsthis
builder for chained invocationpublic final GroovyTestDescriptionArg.Builder setTestRuleTimeoutMs(Optional<Long> testRuleTimeoutMs)
testRuleTimeoutMs
to testRuleTimeoutMs.testRuleTimeoutMs
- The value for testRuleTimeoutMsthis
builder for use in a chained invocationpublic GroovyTestDescriptionArg build()
GroovyTestDescriptionArg
.IllegalStateException
- if any required attributes are missing