Package com.facebook.buck.jvm.groovy
Class GroovyTestDescriptionArg.Builder
- java.lang.Object
-
- com.facebook.buck.jvm.groovy.GroovyTestDescriptionArg.Builder
-
- Enclosing class:
- GroovyTestDescriptionArg
@NotThreadSafe public static final class GroovyTestDescriptionArg.Builder extends Object
Builds instances of typeGroovyTestDescriptionArg
. Initialize attributes and then invoke thebuild()
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.
-
-
Method Summary
-
-
-
Method Detail
-
from
public final GroovyTestDescriptionArg.Builder from(HasDeclaredDeps instance)
Fill a builder with attribute values from the providedcom.facebook.buck.core.description.arg.HasDeclaredDeps
instance.- Parameters:
instance
- The instance from which to copy values- Returns:
this
builder for use in a chained invocation
-
from
public final GroovyTestDescriptionArg.Builder from(HasTestTimeout instance)
Fill a builder with attribute values from the providedcom.facebook.buck.core.description.arg.HasTestTimeout
instance.- Parameters:
instance
- The instance from which to copy values- Returns:
this
builder for use in a chained invocation
-
from
public final GroovyTestDescriptionArg.Builder from(GroovyLibraryDescription.CoreArg instance)
Fill a builder with attribute values from the providedcom.facebook.buck.jvm.groovy.GroovyLibraryDescription.CoreArg
instance.- Parameters:
instance
- The instance from which to copy values- Returns:
this
builder for use in a chained invocation
-
from
public final GroovyTestDescriptionArg.Builder from(HasSrcs instance)
Fill a builder with attribute values from the providedcom.facebook.buck.core.description.arg.HasSrcs
instance.- Parameters:
instance
- The instance from which to copy values- Returns:
this
builder for use in a chained invocation
-
from
public final GroovyTestDescriptionArg.Builder from(ConstructorArg instance)
Fill a builder with attribute values from the providedcom.facebook.buck.core.description.arg.ConstructorArg
instance.- Parameters:
instance
- The instance from which to copy values- Returns:
this
builder for use in a chained invocation
-
from
public final GroovyTestDescriptionArg.Builder from(JavaTestDescription.CoreArg instance)
Fill a builder with attribute values from the providedcom.facebook.buck.jvm.java.JavaTestDescription.CoreArg
instance.- Parameters:
instance
- The instance from which to copy values- Returns:
this
builder for use in a chained invocation
-
from
public final GroovyTestDescriptionArg.Builder from(MaybeRequiredForSourceOnlyAbiArg instance)
Fill a builder with attribute values from the providedcom.facebook.buck.jvm.java.MaybeRequiredForSourceOnlyAbiArg
instance.- Parameters:
instance
- The instance from which to copy values- Returns:
this
builder for use in a chained invocation
-
from
public final GroovyTestDescriptionArg.Builder from(HasProvidedDeps instance)
Fill a builder with attribute values from the providedcom.facebook.buck.core.description.arg.HasProvidedDeps
instance.- Parameters:
instance
- The instance from which to copy values- Returns:
this
builder for use in a chained invocation
-
from
public final GroovyTestDescriptionArg.Builder from(JavaLibraryDescription.CoreArg instance)
Fill a builder with attribute values from the providedcom.facebook.buck.jvm.java.JavaLibraryDescription.CoreArg
instance.- Parameters:
instance
- The instance from which to copy values- Returns:
this
builder for use in a chained invocation
-
from
public final GroovyTestDescriptionArg.Builder from(HasTests instance)
Fill a builder with attribute values from the providedcom.facebook.buck.core.description.arg.HasTests
instance.- Parameters:
instance
- The instance from which to copy values- Returns:
this
builder for use in a chained invocation
-
from
public final GroovyTestDescriptionArg.Builder from(JvmLibraryArg instance)
Fill a builder with attribute values from the providedcom.facebook.buck.jvm.java.JvmLibraryArg
instance.- Parameters:
instance
- The instance from which to copy values- Returns:
this
builder for use in a chained invocation
-
from
public final GroovyTestDescriptionArg.Builder from(BuildRuleArg instance)
Fill a builder with attribute values from the providedcom.facebook.buck.core.description.arg.BuildRuleArg
instance.- Parameters:
instance
- The instance from which to copy values- Returns:
this
builder for use in a chained invocation
-
from
public final GroovyTestDescriptionArg.Builder from(HasContacts instance)
Fill a builder with attribute values from the providedcom.facebook.buck.core.description.arg.HasContacts
instance.- Parameters:
instance
- The instance from which to copy values- Returns:
this
builder for use in a chained invocation
-
from
public final GroovyTestDescriptionArg.Builder from(GroovyTestDescriptionArg instance)
Fill a builder with attribute values from the providedGroovyTestDescriptionArg
instance.- Parameters:
instance
- The instance from which to copy values- Returns:
this
builder for use in a chained invocation
-
from
public final GroovyTestDescriptionArg.Builder from(com.facebook.buck.jvm.groovy.GroovyTestDescription.AbstractGroovyTestDescriptionArg instance)
Copy abstract value typeAbstractGroovyTestDescriptionArg
instance into builder.- Parameters:
instance
- The instance from which to copy values- Returns:
this
builder for use in a chained invocation
-
addExtraGroovycArguments
public final GroovyTestDescriptionArg.Builder addExtraGroovycArguments(String element)
Adds one element toextraGroovycArguments
list.- Parameters:
element
- A extraGroovycArguments element- Returns:
this
builder for use in a chained invocation
-
addExtraGroovycArguments
public final GroovyTestDescriptionArg.Builder addExtraGroovycArguments(String... elements)
Adds elements toextraGroovycArguments
list.- Parameters:
elements
- An array of extraGroovycArguments elements- Returns:
this
builder for use in a chained invocation
-
setExtraGroovycArguments
public final GroovyTestDescriptionArg.Builder setExtraGroovycArguments(Iterable<String> elements)
Sets or replaces all elements forextraGroovycArguments
list.- Parameters:
elements
- An iterable of extraGroovycArguments elements- Returns:
this
builder for use in a chained invocation
-
addAllExtraGroovycArguments
public final GroovyTestDescriptionArg.Builder addAllExtraGroovycArguments(Iterable<String> elements)
Adds elements toextraGroovycArguments
list.- Parameters:
elements
- An iterable of extraGroovycArguments elements- Returns:
this
builder for use in a chained invocation
-
addResources
public final GroovyTestDescriptionArg.Builder addResources(SourcePath element)
Adds one element toresources
sortedSet.- Parameters:
element
- A resources element- Returns:
this
builder for use in a chained invocation
-
addResources
public final GroovyTestDescriptionArg.Builder addResources(SourcePath... elements)
Adds elements toresources
sortedSet.- Parameters:
elements
- An array of resources elements- Returns:
this
builder for use in a chained invocation
-
setResources
public final GroovyTestDescriptionArg.Builder setResources(Iterable<? extends SourcePath> elements)
Sets or replaces all elements forresources
sortedSet.- Parameters:
elements
- An iterable of resources elements- Returns:
this
builder for use in a chained invocation
-
addAllResources
public final GroovyTestDescriptionArg.Builder addAllResources(Iterable<? extends SourcePath> elements)
Adds elements toresources
sortedSet.- Parameters:
elements
- An iterable of resources elements- Returns:
this
builder for use in a chained invocation
-
setProguardConfig
public final GroovyTestDescriptionArg.Builder setProguardConfig(SourcePath proguardConfig)
Initializes the optional valueproguardConfig
to proguardConfig.- Parameters:
proguardConfig
- The value for proguardConfig- Returns:
this
builder for chained invocation
-
setProguardConfig
public final GroovyTestDescriptionArg.Builder setProguardConfig(Optional<? extends SourcePath> proguardConfig)
Initializes the optional valueproguardConfig
to proguardConfig.- Parameters:
proguardConfig
- The value for proguardConfig- Returns:
this
builder for use in a chained invocation
-
addPostprocessClassesCommands
public final GroovyTestDescriptionArg.Builder addPostprocessClassesCommands(String element)
Adds one element topostprocessClassesCommands
list.- Parameters:
element
- A postprocessClassesCommands element- Returns:
this
builder for use in a chained invocation
-
addPostprocessClassesCommands
public final GroovyTestDescriptionArg.Builder addPostprocessClassesCommands(String... elements)
Adds elements topostprocessClassesCommands
list.- Parameters:
elements
- An array of postprocessClassesCommands elements- Returns:
this
builder for use in a chained invocation
-
setPostprocessClassesCommands
public final GroovyTestDescriptionArg.Builder setPostprocessClassesCommands(Iterable<String> elements)
Sets or replaces all elements forpostprocessClassesCommands
list.- Parameters:
elements
- An iterable of postprocessClassesCommands elements- Returns:
this
builder for use in a chained invocation
-
addAllPostprocessClassesCommands
public final GroovyTestDescriptionArg.Builder addAllPostprocessClassesCommands(Iterable<String> elements)
Adds elements topostprocessClassesCommands
list.- Parameters:
elements
- An iterable of postprocessClassesCommands elements- Returns:
this
builder for use in a chained invocation
-
setResourcesRoot
public final GroovyTestDescriptionArg.Builder setResourcesRoot(Path resourcesRoot)
Initializes the optional valueresourcesRoot
to resourcesRoot.- Parameters:
resourcesRoot
- The value for resourcesRoot- Returns:
this
builder for chained invocation
-
setResourcesRoot
public final GroovyTestDescriptionArg.Builder setResourcesRoot(Optional<? extends Path> resourcesRoot)
Initializes the optional valueresourcesRoot
to resourcesRoot.- Parameters:
resourcesRoot
- The value for resourcesRoot- Returns:
this
builder for use in a chained invocation
-
setUnbundledResourcesRoot
public final GroovyTestDescriptionArg.Builder setUnbundledResourcesRoot(SourcePath unbundledResourcesRoot)
Initializes the optional valueunbundledResourcesRoot
to unbundledResourcesRoot.- Parameters:
unbundledResourcesRoot
- The value for unbundledResourcesRoot- Returns:
this
builder for chained invocation
-
setUnbundledResourcesRoot
public final GroovyTestDescriptionArg.Builder setUnbundledResourcesRoot(Optional<? extends SourcePath> unbundledResourcesRoot)
Initializes the optional valueunbundledResourcesRoot
to unbundledResourcesRoot.- Parameters:
unbundledResourcesRoot
- The value for unbundledResourcesRoot- Returns:
this
builder for use in a chained invocation
-
setManifestFile
public final GroovyTestDescriptionArg.Builder setManifestFile(SourcePath manifestFile)
Initializes the optional valuemanifestFile
to manifestFile.- Parameters:
manifestFile
- The value for manifestFile- Returns:
this
builder for chained invocation
-
setManifestFile
public final GroovyTestDescriptionArg.Builder setManifestFile(Optional<? extends SourcePath> manifestFile)
Initializes the optional valuemanifestFile
to manifestFile.- Parameters:
manifestFile
- The value for manifestFile- Returns:
this
builder for use in a chained invocation
-
setMavenCoords
public final GroovyTestDescriptionArg.Builder setMavenCoords(String mavenCoords)
Initializes the optional valuemavenCoords
to mavenCoords.- Parameters:
mavenCoords
- The value for mavenCoords- Returns:
this
builder for chained invocation
-
setMavenCoords
public final GroovyTestDescriptionArg.Builder setMavenCoords(Optional<String> mavenCoords)
Initializes the optional valuemavenCoords
to mavenCoords.- Parameters:
mavenCoords
- The value for mavenCoords- Returns:
this
builder for use in a chained invocation
-
setMavenPomTemplate
public final GroovyTestDescriptionArg.Builder setMavenPomTemplate(SourcePath mavenPomTemplate)
Initializes the optional valuemavenPomTemplate
to mavenPomTemplate.- Parameters:
mavenPomTemplate
- The value for mavenPomTemplate- Returns:
this
builder for chained invocation
-
setMavenPomTemplate
public final GroovyTestDescriptionArg.Builder setMavenPomTemplate(Optional<? extends SourcePath> mavenPomTemplate)
Initializes the optional valuemavenPomTemplate
to mavenPomTemplate.- Parameters:
mavenPomTemplate
- The value for mavenPomTemplate- Returns:
this
builder for use in a chained invocation
-
addExportedDeps
public final GroovyTestDescriptionArg.Builder addExportedDeps(BuildTarget element)
Adds one element toexportedDeps
sortedSet.- Parameters:
element
- A exportedDeps element- Returns:
this
builder for use in a chained invocation
-
addExportedDeps
public final GroovyTestDescriptionArg.Builder addExportedDeps(BuildTarget... elements)
Adds elements toexportedDeps
sortedSet.- Parameters:
elements
- An array of exportedDeps elements- Returns:
this
builder for use in a chained invocation
-
setExportedDeps
public final GroovyTestDescriptionArg.Builder setExportedDeps(Iterable<? extends BuildTarget> elements)
Sets or replaces all elements forexportedDeps
sortedSet.- Parameters:
elements
- An iterable of exportedDeps elements- Returns:
this
builder for use in a chained invocation
-
addAllExportedDeps
public final GroovyTestDescriptionArg.Builder addAllExportedDeps(Iterable<? extends BuildTarget> elements)
Adds elements toexportedDeps
sortedSet.- Parameters:
elements
- An iterable of exportedDeps elements- Returns:
this
builder for use in a chained invocation
-
addSourceOnlyAbiDeps
public final GroovyTestDescriptionArg.Builder addSourceOnlyAbiDeps(BuildTarget element)
Adds one element tosourceOnlyAbiDeps
sortedSet.- Parameters:
element
- A sourceOnlyAbiDeps element- Returns:
this
builder for use in a chained invocation
-
addSourceOnlyAbiDeps
public final GroovyTestDescriptionArg.Builder addSourceOnlyAbiDeps(BuildTarget... elements)
Adds elements tosourceOnlyAbiDeps
sortedSet.- Parameters:
elements
- An array of sourceOnlyAbiDeps elements- Returns:
this
builder for use in a chained invocation
-
setSourceOnlyAbiDeps
public final GroovyTestDescriptionArg.Builder setSourceOnlyAbiDeps(Iterable<? extends BuildTarget> elements)
Sets or replaces all elements forsourceOnlyAbiDeps
sortedSet.- Parameters:
elements
- An iterable of sourceOnlyAbiDeps elements- Returns:
this
builder for use in a chained invocation
-
addAllSourceOnlyAbiDeps
public final GroovyTestDescriptionArg.Builder addAllSourceOnlyAbiDeps(Iterable<? extends BuildTarget> elements)
Adds elements tosourceOnlyAbiDeps
sortedSet.- Parameters:
elements
- An iterable of sourceOnlyAbiDeps elements- Returns:
this
builder for use in a chained invocation
-
addRuntimeDeps
public final GroovyTestDescriptionArg.Builder addRuntimeDeps(BuildTarget element)
Adds one element toruntimeDeps
sortedSet.- Parameters:
element
- A runtimeDeps element- Returns:
this
builder for use in a chained invocation
-
addRuntimeDeps
public final GroovyTestDescriptionArg.Builder addRuntimeDeps(BuildTarget... elements)
Adds elements toruntimeDeps
sortedSet.- Parameters:
elements
- An array of runtimeDeps elements- Returns:
this
builder for use in a chained invocation
-
setRuntimeDeps
public final GroovyTestDescriptionArg.Builder setRuntimeDeps(Iterable<? extends BuildTarget> elements)
Sets or replaces all elements forruntimeDeps
sortedSet.- Parameters:
elements
- An iterable of runtimeDeps elements- Returns:
this
builder for use in a chained invocation
-
addAllRuntimeDeps
public final GroovyTestDescriptionArg.Builder addAllRuntimeDeps(Iterable<? extends BuildTarget> elements)
Adds elements toruntimeDeps
sortedSet.- Parameters:
elements
- An iterable of runtimeDeps elements- Returns:
this
builder for use in a chained invocation
-
setSource
public final GroovyTestDescriptionArg.Builder setSource(String source)
Initializes the optional valuesource
to source.- Parameters:
source
- The value for source- Returns:
this
builder for chained invocation
-
setSource
public final GroovyTestDescriptionArg.Builder setSource(Optional<String> source)
Initializes the optional valuesource
to source.- Parameters:
source
- The value for source- Returns:
this
builder for use in a chained invocation
-
setTarget
public final GroovyTestDescriptionArg.Builder setTarget(String target)
Initializes the optional valuetarget
to target.- Parameters:
target
- The value for target- Returns:
this
builder for chained invocation
-
setTarget
public final GroovyTestDescriptionArg.Builder setTarget(Optional<String> target)
Initializes the optional valuetarget
to target.- Parameters:
target
- The value for target- Returns:
this
builder for use in a chained invocation
-
setJavaVersion
public final GroovyTestDescriptionArg.Builder setJavaVersion(String javaVersion)
Initializes the optional valuejavaVersion
to javaVersion.- Parameters:
javaVersion
- The value for javaVersion- Returns:
this
builder for chained invocation
-
setJavaVersion
public final GroovyTestDescriptionArg.Builder setJavaVersion(Optional<String> javaVersion)
Initializes the optional valuejavaVersion
to javaVersion.- Parameters:
javaVersion
- The value for javaVersion- Returns:
this
builder for use in a chained invocation
-
setJavac
public final GroovyTestDescriptionArg.Builder setJavac(SourcePath javac)
Initializes the optional valuejavac
to javac.- Parameters:
javac
- The value for javac- Returns:
this
builder for chained invocation
-
setJavac
public final GroovyTestDescriptionArg.Builder setJavac(Optional<? extends SourcePath> javac)
Initializes the optional valuejavac
to javac.- Parameters:
javac
- The value for javac- Returns:
this
builder for use in a chained invocation
-
setJavacJar
public final GroovyTestDescriptionArg.Builder setJavacJar(SourcePath javacJar)
Initializes the optional valuejavacJar
to javacJar.- Parameters:
javacJar
- The value for javacJar- Returns:
this
builder for chained invocation
-
setJavacJar
public final GroovyTestDescriptionArg.Builder setJavacJar(Optional<? extends SourcePath> javacJar)
Initializes the optional valuejavacJar
to javacJar.- Parameters:
javacJar
- The value for javacJar- Returns:
this
builder for use in a chained invocation
-
setCompilerClassName
public final GroovyTestDescriptionArg.Builder setCompilerClassName(String compilerClassName)
Initializes the optional valuecompilerClassName
to compilerClassName.- Parameters:
compilerClassName
- The value for compilerClassName- Returns:
this
builder for chained invocation
-
setCompilerClassName
public final GroovyTestDescriptionArg.Builder setCompilerClassName(Optional<String> compilerClassName)
Initializes the optional valuecompilerClassName
to compilerClassName.- Parameters:
compilerClassName
- The value for compilerClassName- Returns:
this
builder for use in a chained invocation
-
setCompiler
public final GroovyTestDescriptionArg.Builder setCompiler(Either<BuiltInJavac,SourcePath> compiler)
Initializes the optional valuecompiler
to compiler.- Parameters:
compiler
- The value for compiler- Returns:
this
builder for chained invocation
-
setCompiler
public final GroovyTestDescriptionArg.Builder setCompiler(Optional<? extends Either<BuiltInJavac,SourcePath>> compiler)
Initializes the optional valuecompiler
to compiler.- Parameters:
compiler
- The value for compiler- Returns:
this
builder for use in a chained invocation
-
addExtraArguments
public final GroovyTestDescriptionArg.Builder addExtraArguments(String element)
Adds one element toextraArguments
list.- Parameters:
element
- A extraArguments element- Returns:
this
builder for use in a chained invocation
-
addExtraArguments
public final GroovyTestDescriptionArg.Builder addExtraArguments(String... elements)
Adds elements toextraArguments
list.- Parameters:
elements
- An array of extraArguments elements- Returns:
this
builder for use in a chained invocation
-
setExtraArguments
public final GroovyTestDescriptionArg.Builder setExtraArguments(Iterable<String> elements)
Sets or replaces all elements forextraArguments
list.- Parameters:
elements
- An iterable of extraArguments elements- Returns:
this
builder for use in a chained invocation
-
addAllExtraArguments
public final GroovyTestDescriptionArg.Builder addAllExtraArguments(Iterable<String> elements)
Adds elements toextraArguments
list.- Parameters:
elements
- An iterable of extraArguments elements- Returns:
this
builder for use in a chained invocation
-
addRemoveClasses
public final GroovyTestDescriptionArg.Builder addRemoveClasses(Pattern element)
Adds one element toremoveClasses
set.- Parameters:
element
- A removeClasses element- Returns:
this
builder for use in a chained invocation
-
addRemoveClasses
public final GroovyTestDescriptionArg.Builder addRemoveClasses(Pattern... elements)
Adds elements toremoveClasses
set.- Parameters:
elements
- An array of removeClasses elements- Returns:
this
builder for use in a chained invocation
-
setRemoveClasses
public final GroovyTestDescriptionArg.Builder setRemoveClasses(Iterable<? extends Pattern> elements)
Sets or replaces all elements forremoveClasses
set.- Parameters:
elements
- An iterable of removeClasses elements- Returns:
this
builder for use in a chained invocation
-
addAllRemoveClasses
public final GroovyTestDescriptionArg.Builder addAllRemoveClasses(Iterable<? extends Pattern> elements)
Adds elements toremoveClasses
set.- Parameters:
elements
- An iterable of removeClasses elements- Returns:
this
builder for use in a chained invocation
-
addAnnotationProcessorDeps
public final GroovyTestDescriptionArg.Builder addAnnotationProcessorDeps(BuildTarget element)
Adds one element toannotationProcessorDeps
sortedSet.- Parameters:
element
- A annotationProcessorDeps element- Returns:
this
builder for use in a chained invocation
-
addAnnotationProcessorDeps
public final GroovyTestDescriptionArg.Builder addAnnotationProcessorDeps(BuildTarget... elements)
Adds elements toannotationProcessorDeps
sortedSet.- Parameters:
elements
- An array of annotationProcessorDeps elements- Returns:
this
builder for use in a chained invocation
-
setAnnotationProcessorDeps
public final GroovyTestDescriptionArg.Builder setAnnotationProcessorDeps(Iterable<? extends BuildTarget> elements)
Sets or replaces all elements forannotationProcessorDeps
sortedSet.- Parameters:
elements
- An iterable of annotationProcessorDeps elements- Returns:
this
builder for use in a chained invocation
-
addAllAnnotationProcessorDeps
public final GroovyTestDescriptionArg.Builder addAllAnnotationProcessorDeps(Iterable<? extends BuildTarget> elements)
Adds elements toannotationProcessorDeps
sortedSet.- Parameters:
elements
- An iterable of annotationProcessorDeps elements- Returns:
this
builder for use in a chained invocation
-
addAnnotationProcessorParams
public final GroovyTestDescriptionArg.Builder addAnnotationProcessorParams(String element)
Adds one element toannotationProcessorParams
list.- Parameters:
element
- A annotationProcessorParams element- Returns:
this
builder for use in a chained invocation
-
addAnnotationProcessorParams
public final GroovyTestDescriptionArg.Builder addAnnotationProcessorParams(String... elements)
Adds elements toannotationProcessorParams
list.- Parameters:
elements
- An array of annotationProcessorParams elements- Returns:
this
builder for use in a chained invocation
-
setAnnotationProcessorParams
public final GroovyTestDescriptionArg.Builder setAnnotationProcessorParams(Iterable<String> elements)
Sets or replaces all elements forannotationProcessorParams
list.- Parameters:
elements
- An iterable of annotationProcessorParams elements- Returns:
this
builder for use in a chained invocation
-
addAllAnnotationProcessorParams
public final GroovyTestDescriptionArg.Builder addAllAnnotationProcessorParams(Iterable<String> elements)
Adds elements toannotationProcessorParams
list.- Parameters:
elements
- An iterable of annotationProcessorParams elements- Returns:
this
builder for use in a chained invocation
-
addJavaPluginParams
public final GroovyTestDescriptionArg.Builder addJavaPluginParams(String element)
Adds one element tojavaPluginParams
list.- Parameters:
element
- A javaPluginParams element- Returns:
this
builder for use in a chained invocation
-
addJavaPluginParams
public final GroovyTestDescriptionArg.Builder addJavaPluginParams(String... elements)
Adds elements tojavaPluginParams
list.- Parameters:
elements
- An array of javaPluginParams elements- Returns:
this
builder for use in a chained invocation
-
setJavaPluginParams
public final GroovyTestDescriptionArg.Builder setJavaPluginParams(Iterable<String> elements)
Sets or replaces all elements forjavaPluginParams
list.- Parameters:
elements
- An iterable of javaPluginParams elements- Returns:
this
builder for use in a chained invocation
-
addAllJavaPluginParams
public final GroovyTestDescriptionArg.Builder addAllJavaPluginParams(Iterable<String> elements)
Adds elements tojavaPluginParams
list.- Parameters:
elements
- An iterable of javaPluginParams elements- Returns:
this
builder for use in a chained invocation
-
addAnnotationProcessors
public final GroovyTestDescriptionArg.Builder addAnnotationProcessors(String element)
Adds one element toannotationProcessors
set.- Parameters:
element
- A annotationProcessors element- Returns:
this
builder for use in a chained invocation
-
addAnnotationProcessors
public final GroovyTestDescriptionArg.Builder addAnnotationProcessors(String... elements)
Adds elements toannotationProcessors
set.- Parameters:
elements
- An array of annotationProcessors elements- Returns:
this
builder for use in a chained invocation
-
setAnnotationProcessors
public final GroovyTestDescriptionArg.Builder setAnnotationProcessors(Iterable<String> elements)
Sets or replaces all elements forannotationProcessors
set.- Parameters:
elements
- An iterable of annotationProcessors elements- Returns:
this
builder for use in a chained invocation
-
addAllAnnotationProcessors
public final GroovyTestDescriptionArg.Builder addAllAnnotationProcessors(Iterable<String> elements)
Adds elements toannotationProcessors
set.- Parameters:
elements
- An iterable of annotationProcessors elements- Returns:
this
builder for use in a chained invocation
-
setAnnotationProcessorOnly
public final GroovyTestDescriptionArg.Builder setAnnotationProcessorOnly(boolean annotationProcessorOnly)
Initializes the optional valueannotationProcessorOnly
to annotationProcessorOnly.- Parameters:
annotationProcessorOnly
- The value for annotationProcessorOnly- Returns:
this
builder for chained invocation
-
setAnnotationProcessorOnly
public final GroovyTestDescriptionArg.Builder setAnnotationProcessorOnly(Optional<Boolean> annotationProcessorOnly)
Initializes the optional valueannotationProcessorOnly
to annotationProcessorOnly.- Parameters:
annotationProcessorOnly
- The value for annotationProcessorOnly- Returns:
this
builder for use in a chained invocation
-
addPlugins
public final GroovyTestDescriptionArg.Builder addPlugins(BuildTarget element)
Adds one element toplugins
list.- Parameters:
element
- A plugins element- Returns:
this
builder for use in a chained invocation
-
addPlugins
public final GroovyTestDescriptionArg.Builder addPlugins(BuildTarget... elements)
Adds elements toplugins
list.- Parameters:
elements
- An array of plugins elements- Returns:
this
builder for use in a chained invocation
-
setPlugins
public final GroovyTestDescriptionArg.Builder setPlugins(Iterable<? extends BuildTarget> elements)
Sets or replaces all elements forplugins
list.- Parameters:
elements
- An iterable of plugins elements- Returns:
this
builder for use in a chained invocation
-
addAllPlugins
public final GroovyTestDescriptionArg.Builder addAllPlugins(Iterable<? extends BuildTarget> elements)
Adds elements toplugins
list.- Parameters:
elements
- An iterable of plugins elements- Returns:
this
builder for use in a chained invocation
-
setCompileAgainst
public final GroovyTestDescriptionArg.Builder setCompileAgainst(CompileAgainstLibraryType compileAgainst)
Initializes the optional valuecompileAgainst
to compileAgainst.- Parameters:
compileAgainst
- The value for compileAgainst- Returns:
this
builder for chained invocation
-
setCompileAgainst
public final GroovyTestDescriptionArg.Builder setCompileAgainst(Optional<? extends CompileAgainstLibraryType> compileAgainst)
Initializes the optional valuecompileAgainst
to compileAgainst.- Parameters:
compileAgainst
- The value for compileAgainst- Returns:
this
builder for use in a chained invocation
-
setSourceAbiVerificationMode
public final GroovyTestDescriptionArg.Builder setSourceAbiVerificationMode(JavaBuckConfig.SourceAbiVerificationMode sourceAbiVerificationMode)
Initializes the optional valuesourceAbiVerificationMode
to sourceAbiVerificationMode.- Parameters:
sourceAbiVerificationMode
- The value for sourceAbiVerificationMode- Returns:
this
builder for chained invocation
-
setSourceAbiVerificationMode
public final GroovyTestDescriptionArg.Builder setSourceAbiVerificationMode(Optional<? extends JavaBuckConfig.SourceAbiVerificationMode> sourceAbiVerificationMode)
Initializes the optional valuesourceAbiVerificationMode
to sourceAbiVerificationMode.- Parameters:
sourceAbiVerificationMode
- The value for sourceAbiVerificationMode- Returns:
this
builder for use in a chained invocation
-
setOnUnusedDependencies
public final GroovyTestDescriptionArg.Builder setOnUnusedDependencies(JavaBuckConfig.UnusedDependenciesAction onUnusedDependencies)
Initializes the optional valueonUnusedDependencies
to onUnusedDependencies.- Parameters:
onUnusedDependencies
- The value for onUnusedDependencies- Returns:
this
builder for chained invocation
-
setOnUnusedDependencies
public final GroovyTestDescriptionArg.Builder setOnUnusedDependencies(Optional<? extends JavaBuckConfig.UnusedDependenciesAction> onUnusedDependencies)
Initializes the optional valueonUnusedDependencies
to onUnusedDependencies.- Parameters:
onUnusedDependencies
- The value for onUnusedDependencies- Returns:
this
builder for use in a chained invocation
-
setNeverMarkAsUnusedDependency
public final GroovyTestDescriptionArg.Builder setNeverMarkAsUnusedDependency(boolean neverMarkAsUnusedDependency)
Initializes the optional valueneverMarkAsUnusedDependency
to neverMarkAsUnusedDependency.- Parameters:
neverMarkAsUnusedDependency
- The value for neverMarkAsUnusedDependency- Returns:
this
builder for chained invocation
-
setNeverMarkAsUnusedDependency
public final GroovyTestDescriptionArg.Builder setNeverMarkAsUnusedDependency(Optional<Boolean> neverMarkAsUnusedDependency)
Initializes the optional valueneverMarkAsUnusedDependency
to neverMarkAsUnusedDependency.- Parameters:
neverMarkAsUnusedDependency
- The value for neverMarkAsUnusedDependency- Returns:
this
builder for use in a chained invocation
-
addLicenses
public final GroovyTestDescriptionArg.Builder addLicenses(SourcePath element)
Adds one element tolicenses
set.- Parameters:
element
- A licenses element- Returns:
this
builder for use in a chained invocation
-
addLicenses
public final GroovyTestDescriptionArg.Builder addLicenses(SourcePath... elements)
Adds elements tolicenses
set.- Parameters:
elements
- An array of licenses elements- Returns:
this
builder for use in a chained invocation
-
setLicenses
public final GroovyTestDescriptionArg.Builder setLicenses(Iterable<? extends SourcePath> elements)
Sets or replaces all elements forlicenses
set.- Parameters:
elements
- An iterable of licenses elements- Returns:
this
builder for use in a chained invocation
-
addAllLicenses
public final GroovyTestDescriptionArg.Builder addAllLicenses(Iterable<? extends SourcePath> elements)
Adds elements tolicenses
set.- Parameters:
elements
- An iterable of licenses elements- Returns:
this
builder for use in a chained invocation
-
addLabels
public final GroovyTestDescriptionArg.Builder addLabels(String element)
Adds one element tolabels
sortedSet.- Parameters:
element
- A labels element- Returns:
this
builder for use in a chained invocation
-
addLabels
public final GroovyTestDescriptionArg.Builder addLabels(String... elements)
Adds elements tolabels
sortedSet.- Parameters:
elements
- An array of labels elements- Returns:
this
builder for use in a chained invocation
-
setLabels
public final GroovyTestDescriptionArg.Builder setLabels(Iterable<String> elements)
Sets or replaces all elements forlabels
sortedSet.- Parameters:
elements
- An iterable of labels elements- Returns:
this
builder for use in a chained invocation
-
addAllLabels
public final GroovyTestDescriptionArg.Builder addAllLabels(Iterable<String> elements)
Adds elements tolabels
sortedSet.- Parameters:
elements
- An iterable of labels elements- Returns:
this
builder for use in a chained invocation
-
setDefaultTargetPlatform
public final GroovyTestDescriptionArg.Builder setDefaultTargetPlatform(UnconfiguredBuildTarget defaultTargetPlatform)
Initializes the optional valuedefaultTargetPlatform
to defaultTargetPlatform.- Parameters:
defaultTargetPlatform
- The value for defaultTargetPlatform- Returns:
this
builder for chained invocation
-
setDefaultTargetPlatform
public final GroovyTestDescriptionArg.Builder setDefaultTargetPlatform(Optional<? extends UnconfiguredBuildTarget> defaultTargetPlatform)
Initializes the optional valuedefaultTargetPlatform
to defaultTargetPlatform.- Parameters:
defaultTargetPlatform
- The value for defaultTargetPlatform- Returns:
this
builder for use in a chained invocation
-
addCompatibleWith
public final GroovyTestDescriptionArg.Builder addCompatibleWith(UnconfiguredBuildTarget element)
Adds one element tocompatibleWith
list.- Parameters:
element
- A compatibleWith element- Returns:
this
builder for use in a chained invocation
-
addCompatibleWith
public final GroovyTestDescriptionArg.Builder addCompatibleWith(UnconfiguredBuildTarget... elements)
Adds elements tocompatibleWith
list.- Parameters:
elements
- An array of compatibleWith elements- Returns:
this
builder for use in a chained invocation
-
setCompatibleWith
public final GroovyTestDescriptionArg.Builder setCompatibleWith(Iterable<? extends UnconfiguredBuildTarget> elements)
Sets or replaces all elements forcompatibleWith
list.- Parameters:
elements
- An iterable of compatibleWith elements- Returns:
this
builder for use in a chained invocation
-
addAllCompatibleWith
public final GroovyTestDescriptionArg.Builder addAllCompatibleWith(Iterable<? extends UnconfiguredBuildTarget> elements)
Adds elements tocompatibleWith
list.- Parameters:
elements
- An iterable of compatibleWith elements- Returns:
this
builder for use in a chained invocation
-
setName
public final GroovyTestDescriptionArg.Builder setName(String name)
Initializes the value for thename
attribute.- Parameters:
name
- The value for name- Returns:
this
builder for use in a chained invocation
-
setRequiredForSourceOnlyAbi
public final GroovyTestDescriptionArg.Builder setRequiredForSourceOnlyAbi(boolean requiredForSourceOnlyAbi)
Initializes the value for therequiredForSourceOnlyAbi
attribute.If not set, this attribute will have a default value as returned by the initializer of
requiredForSourceOnlyAbi
.- Parameters:
requiredForSourceOnlyAbi
- The value for requiredForSourceOnlyAbi- Returns:
this
builder for use in a chained invocation
-
addDeps
public final GroovyTestDescriptionArg.Builder addDeps(BuildTarget element)
Adds one element todeps
sortedSet.- Parameters:
element
- A deps element- Returns:
this
builder for use in a chained invocation
-
addDeps
public final GroovyTestDescriptionArg.Builder addDeps(BuildTarget... elements)
Adds elements todeps
sortedSet.- Parameters:
elements
- An array of deps elements- Returns:
this
builder for use in a chained invocation
-
setDeps
public final GroovyTestDescriptionArg.Builder setDeps(Iterable<? extends BuildTarget> elements)
Sets or replaces all elements fordeps
sortedSet.- Parameters:
elements
- An iterable of deps elements- Returns:
this
builder for use in a chained invocation
-
addAllDeps
public final GroovyTestDescriptionArg.Builder addAllDeps(Iterable<? extends BuildTarget> elements)
Adds elements todeps
sortedSet.- Parameters:
elements
- An iterable of deps elements- Returns:
this
builder for use in a chained invocation
-
addProvidedDeps
public final GroovyTestDescriptionArg.Builder addProvidedDeps(BuildTarget element)
Adds one element toprovidedDeps
sortedSet.- Parameters:
element
- A providedDeps element- Returns:
this
builder for use in a chained invocation
-
addProvidedDeps
public final GroovyTestDescriptionArg.Builder addProvidedDeps(BuildTarget... elements)
Adds elements toprovidedDeps
sortedSet.- Parameters:
elements
- An array of providedDeps elements- Returns:
this
builder for use in a chained invocation
-
setProvidedDeps
public final GroovyTestDescriptionArg.Builder setProvidedDeps(Iterable<? extends BuildTarget> elements)
Sets or replaces all elements forprovidedDeps
sortedSet.- Parameters:
elements
- An iterable of providedDeps elements- Returns:
this
builder for use in a chained invocation
-
addAllProvidedDeps
public final GroovyTestDescriptionArg.Builder addAllProvidedDeps(Iterable<? extends BuildTarget> elements)
Adds elements toprovidedDeps
sortedSet.- Parameters:
elements
- An iterable of providedDeps elements- Returns:
this
builder for use in a chained invocation
-
addExportedProvidedDeps
public final GroovyTestDescriptionArg.Builder addExportedProvidedDeps(BuildTarget element)
Adds one element toexportedProvidedDeps
sortedSet.- Parameters:
element
- A exportedProvidedDeps element- Returns:
this
builder for use in a chained invocation
-
addExportedProvidedDeps
public final GroovyTestDescriptionArg.Builder addExportedProvidedDeps(BuildTarget... elements)
Adds elements toexportedProvidedDeps
sortedSet.- Parameters:
elements
- An array of exportedProvidedDeps elements- Returns:
this
builder for use in a chained invocation
-
setExportedProvidedDeps
public final GroovyTestDescriptionArg.Builder setExportedProvidedDeps(Iterable<? extends BuildTarget> elements)
Sets or replaces all elements forexportedProvidedDeps
sortedSet.- Parameters:
elements
- An iterable of exportedProvidedDeps elements- Returns:
this
builder for use in a chained invocation
-
addAllExportedProvidedDeps
public final GroovyTestDescriptionArg.Builder addAllExportedProvidedDeps(Iterable<? extends BuildTarget> elements)
Adds elements toexportedProvidedDeps
sortedSet.- Parameters:
elements
- An iterable of exportedProvidedDeps elements- Returns:
this
builder for use in a chained invocation
-
addSrcs
public final GroovyTestDescriptionArg.Builder addSrcs(SourcePath element)
Adds one element tosrcs
sortedSet.- Parameters:
element
- A srcs element- Returns:
this
builder for use in a chained invocation
-
addSrcs
public final GroovyTestDescriptionArg.Builder addSrcs(SourcePath... elements)
Adds elements tosrcs
sortedSet.- Parameters:
elements
- An array of srcs elements- Returns:
this
builder for use in a chained invocation
-
setSrcs
public final GroovyTestDescriptionArg.Builder setSrcs(Iterable<? extends SourcePath> elements)
Sets or replaces all elements forsrcs
sortedSet.- Parameters:
elements
- An iterable of srcs elements- Returns:
this
builder for use in a chained invocation
-
addAllSrcs
public final GroovyTestDescriptionArg.Builder addAllSrcs(Iterable<? extends SourcePath> elements)
Adds elements tosrcs
sortedSet.- Parameters:
elements
- An iterable of srcs elements- Returns:
this
builder for use in a chained invocation
-
addTests
public final GroovyTestDescriptionArg.Builder addTests(BuildTarget element)
Adds one element totests
sortedSet.- Parameters:
element
- A tests element- Returns:
this
builder for use in a chained invocation
-
addTests
public final GroovyTestDescriptionArg.Builder addTests(BuildTarget... elements)
Adds elements totests
sortedSet.- Parameters:
elements
- An array of tests elements- Returns:
this
builder for use in a chained invocation
-
setTests
public final GroovyTestDescriptionArg.Builder setTests(Iterable<? extends BuildTarget> elements)
Sets or replaces all elements fortests
sortedSet.- Parameters:
elements
- An iterable of tests elements- Returns:
this
builder for use in a chained invocation
-
addAllTests
public final GroovyTestDescriptionArg.Builder addAllTests(Iterable<? extends BuildTarget> elements)
Adds elements totests
sortedSet.- Parameters:
elements
- An iterable of tests elements- Returns:
this
builder for use in a chained invocation
-
addVmArgs
public final GroovyTestDescriptionArg.Builder addVmArgs(StringWithMacros element)
Adds one element tovmArgs
list.- Parameters:
element
- A vmArgs element- Returns:
this
builder for use in a chained invocation
-
addVmArgs
public final GroovyTestDescriptionArg.Builder addVmArgs(StringWithMacros... elements)
Adds elements tovmArgs
list.- Parameters:
elements
- An array of vmArgs elements- Returns:
this
builder for use in a chained invocation
-
setVmArgs
public final GroovyTestDescriptionArg.Builder setVmArgs(Iterable<? extends StringWithMacros> elements)
Sets or replaces all elements forvmArgs
list.- Parameters:
elements
- An iterable of vmArgs elements- Returns:
this
builder for use in a chained invocation
-
addAllVmArgs
public final GroovyTestDescriptionArg.Builder addAllVmArgs(Iterable<? extends StringWithMacros> elements)
Adds elements tovmArgs
list.- Parameters:
elements
- An iterable of vmArgs elements- Returns:
this
builder for use in a chained invocation
-
setTestType
public final GroovyTestDescriptionArg.Builder setTestType(TestType testType)
Initializes the optional valuetestType
to testType.- Parameters:
testType
- The value for testType- Returns:
this
builder for chained invocation
-
setTestType
public final GroovyTestDescriptionArg.Builder setTestType(Optional<? extends TestType> testType)
Initializes the optional valuetestType
to testType.- Parameters:
testType
- The value for testType- Returns:
this
builder for use in a chained invocation
-
setRunTestSeparately
public final GroovyTestDescriptionArg.Builder setRunTestSeparately(boolean runTestSeparately)
Initializes the value for therunTestSeparately
attribute.If not set, this attribute will have a default value as returned by the initializer of
runTestSeparately
.- Parameters:
runTestSeparately
- The value for runTestSeparately- Returns:
this
builder for use in a chained invocation
-
setForkMode
public final GroovyTestDescriptionArg.Builder setForkMode(ForkMode forkMode)
Initializes the value for theforkMode
attribute.If not set, this attribute will have a default value as returned by the initializer of
forkMode
.- Parameters:
forkMode
- The value for forkMode- Returns:
this
builder for use in a chained invocation
-
setStdErrLogLevel
public final GroovyTestDescriptionArg.Builder setStdErrLogLevel(Level stdErrLogLevel)
Initializes the optional valuestdErrLogLevel
to stdErrLogLevel.- Parameters:
stdErrLogLevel
- The value for stdErrLogLevel- Returns:
this
builder for chained invocation
-
setStdErrLogLevel
public final GroovyTestDescriptionArg.Builder setStdErrLogLevel(Optional<? extends Level> stdErrLogLevel)
Initializes the optional valuestdErrLogLevel
to stdErrLogLevel.- Parameters:
stdErrLogLevel
- The value for stdErrLogLevel- Returns:
this
builder for use in a chained invocation
-
setStdOutLogLevel
public final GroovyTestDescriptionArg.Builder setStdOutLogLevel(Level stdOutLogLevel)
Initializes the optional valuestdOutLogLevel
to stdOutLogLevel.- Parameters:
stdOutLogLevel
- The value for stdOutLogLevel- Returns:
this
builder for chained invocation
-
setStdOutLogLevel
public final GroovyTestDescriptionArg.Builder setStdOutLogLevel(Optional<? extends Level> stdOutLogLevel)
Initializes the optional valuestdOutLogLevel
to stdOutLogLevel.- Parameters:
stdOutLogLevel
- The value for stdOutLogLevel- Returns:
this
builder for use in a chained invocation
-
setUseCxxLibraries
public final GroovyTestDescriptionArg.Builder setUseCxxLibraries(boolean useCxxLibraries)
Initializes the optional valueuseCxxLibraries
to useCxxLibraries.- Parameters:
useCxxLibraries
- The value for useCxxLibraries- Returns:
this
builder for chained invocation
-
setUseCxxLibraries
public final GroovyTestDescriptionArg.Builder setUseCxxLibraries(Optional<Boolean> useCxxLibraries)
Initializes the optional valueuseCxxLibraries
to useCxxLibraries.- Parameters:
useCxxLibraries
- The value for useCxxLibraries- Returns:
this
builder for use in a chained invocation
-
addCxxLibraryWhitelist
public final GroovyTestDescriptionArg.Builder addCxxLibraryWhitelist(BuildTarget element)
Adds one element tocxxLibraryWhitelist
set.- Parameters:
element
- A cxxLibraryWhitelist element- Returns:
this
builder for use in a chained invocation
-
addCxxLibraryWhitelist
public final GroovyTestDescriptionArg.Builder addCxxLibraryWhitelist(BuildTarget... elements)
Adds elements tocxxLibraryWhitelist
set.- Parameters:
elements
- An array of cxxLibraryWhitelist elements- Returns:
this
builder for use in a chained invocation
-
setCxxLibraryWhitelist
public final GroovyTestDescriptionArg.Builder setCxxLibraryWhitelist(Iterable<? extends BuildTarget> elements)
Sets or replaces all elements forcxxLibraryWhitelist
set.- Parameters:
elements
- An iterable of cxxLibraryWhitelist elements- Returns:
this
builder for use in a chained invocation
-
addAllCxxLibraryWhitelist
public final GroovyTestDescriptionArg.Builder addAllCxxLibraryWhitelist(Iterable<? extends BuildTarget> elements)
Adds elements tocxxLibraryWhitelist
set.- Parameters:
elements
- An iterable of cxxLibraryWhitelist elements- Returns:
this
builder for use in a chained invocation
-
setTestCaseTimeoutMs
public final GroovyTestDescriptionArg.Builder setTestCaseTimeoutMs(long testCaseTimeoutMs)
Initializes the optional valuetestCaseTimeoutMs
to testCaseTimeoutMs.- Parameters:
testCaseTimeoutMs
- The value for testCaseTimeoutMs- Returns:
this
builder for chained invocation
-
setTestCaseTimeoutMs
public final GroovyTestDescriptionArg.Builder setTestCaseTimeoutMs(Optional<Long> testCaseTimeoutMs)
Initializes the optional valuetestCaseTimeoutMs
to testCaseTimeoutMs.- Parameters:
testCaseTimeoutMs
- The value for testCaseTimeoutMs- Returns:
this
builder for use in a chained invocation
-
putEnv
public final GroovyTestDescriptionArg.Builder putEnv(String key, StringWithMacros value)
Put one entry to theenv
map.- Parameters:
key
- The key in the env mapvalue
- The associated value in the env map- Returns:
this
builder for use in a chained invocation
-
putEnv
public final GroovyTestDescriptionArg.Builder putEnv(Map.Entry<String,? extends StringWithMacros> entry)
Put one entry to theenv
map. Nulls are not permitted- Parameters:
entry
- The key and value entry- Returns:
this
builder for use in a chained invocation
-
setEnv
public final GroovyTestDescriptionArg.Builder setEnv(Map<String,? extends StringWithMacros> entries)
Sets or replaces all mappings from the specified map as entries for theenv
map. Nulls are not permitted- Parameters:
entries
- The entries that will be added to the env map- Returns:
this
builder for use in a chained invocation
-
putAllEnv
public final GroovyTestDescriptionArg.Builder putAllEnv(Map<String,? extends StringWithMacros> entries)
Put all mappings from the specified map as entries toenv
map. Nulls are not permitted- Parameters:
entries
- The entries that will be added to the env map- Returns:
this
builder for use in a chained invocation
-
setDefaultCxxPlatform
public final GroovyTestDescriptionArg.Builder setDefaultCxxPlatform(Flavor defaultCxxPlatform)
Initializes the optional valuedefaultCxxPlatform
to defaultCxxPlatform.- Parameters:
defaultCxxPlatform
- The value for defaultCxxPlatform- Returns:
this
builder for chained invocation
-
setDefaultCxxPlatform
public final GroovyTestDescriptionArg.Builder setDefaultCxxPlatform(Optional<? extends Flavor> defaultCxxPlatform)
Initializes the optional valuedefaultCxxPlatform
to defaultCxxPlatform.- Parameters:
defaultCxxPlatform
- The value for defaultCxxPlatform- Returns:
this
builder for use in a chained invocation
-
addContacts
public final GroovyTestDescriptionArg.Builder addContacts(String element)
Adds one element tocontacts
sortedSet.- Parameters:
element
- A contacts element- Returns:
this
builder for use in a chained invocation
-
addContacts
public final GroovyTestDescriptionArg.Builder addContacts(String... elements)
Adds elements tocontacts
sortedSet.- Parameters:
elements
- An array of contacts elements- Returns:
this
builder for use in a chained invocation
-
setContacts
public final GroovyTestDescriptionArg.Builder setContacts(Iterable<String> elements)
Sets or replaces all elements forcontacts
sortedSet.- Parameters:
elements
- An iterable of contacts elements- Returns:
this
builder for use in a chained invocation
-
addAllContacts
public final GroovyTestDescriptionArg.Builder addAllContacts(Iterable<String> elements)
Adds elements tocontacts
sortedSet.- Parameters:
elements
- An iterable of contacts elements- Returns:
this
builder for use in a chained invocation
-
setTestRuleTimeoutMs
public final GroovyTestDescriptionArg.Builder setTestRuleTimeoutMs(long testRuleTimeoutMs)
Initializes the optional valuetestRuleTimeoutMs
to testRuleTimeoutMs.- Parameters:
testRuleTimeoutMs
- The value for testRuleTimeoutMs- Returns:
this
builder for chained invocation
-
setTestRuleTimeoutMs
public final GroovyTestDescriptionArg.Builder setTestRuleTimeoutMs(Optional<Long> testRuleTimeoutMs)
Initializes the optional valuetestRuleTimeoutMs
to testRuleTimeoutMs.- Parameters:
testRuleTimeoutMs
- The value for testRuleTimeoutMs- Returns:
this
builder for use in a chained invocation
-
build
public GroovyTestDescriptionArg build()
Builds a newGroovyTestDescriptionArg
.- Returns:
- An immutable instance of GroovyTestDescriptionArg
- Throws:
IllegalStateException
- if any required attributes are missing
-
-