@NotThreadSafe public static final class AppleTestDescriptionArg.Builder extends Object
AppleTestDescriptionArg
.
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 AppleTestDescriptionArg.Builder from(HasAppleBundleFields instance)
com.facebook.buck.apple.HasAppleBundleFields
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.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 AppleTestDescriptionArg.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 AppleTestDescriptionArg.Builder from(CxxConstructorArg instance)
com.facebook.buck.cxx.CxxConstructorArg
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder from(HasEntitlementsFile instance)
com.facebook.buck.apple.HasEntitlementsFile
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder from(HasDefaultPlatform instance)
com.facebook.buck.core.description.arg.HasDefaultPlatform
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder from(HasAppleCodesignFields instance)
com.facebook.buck.apple.HasAppleCodesignFields
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder from(HasSystemFrameworkAndLibraries instance)
com.facebook.buck.cxx.toolchain.HasSystemFrameworkAndLibraries
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.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 AppleTestDescriptionArg.Builder from(AppleTestDescriptionArg instance)
AppleTestDescriptionArg
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder from(com.facebook.buck.apple.AppleTestDescription.AbstractAppleTestDescriptionArg instance)
AbstractAppleTestDescriptionArg
instance into builder.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder from(LinkableCxxConstructorArg instance)
com.facebook.buck.cxx.LinkableCxxConstructorArg
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder from(CxxLibraryDescription.CommonArg instance)
com.facebook.buck.cxx.CxxLibraryDescription.CommonArg
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.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 AppleTestDescriptionArg.Builder from(SwiftCommonArg instance)
com.facebook.buck.swift.SwiftCommonArg
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder from(HasTestRunner instance)
com.facebook.buck.core.test.rule.HasTestRunner
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.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 AppleTestDescriptionArg.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 AppleTestDescriptionArg.Builder from(AppleNativeTargetDescriptionArg instance)
com.facebook.buck.apple.AppleNativeTargetDescriptionArg
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.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 AppleTestDescriptionArg.Builder setIsUiTest(boolean isUiTest)
isUiTest
attribute.
If not set, this attribute will have a default value as returned by the initializer of isUiTest
.
isUiTest
- The value for isUiTestthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setTestHostApp(BuildTarget testHostApp)
testHostApp
to testHostApp.testHostApp
- The value for testHostAppthis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setTestHostApp(Optional<? extends BuildTarget> testHostApp)
testHostApp
to testHostApp.testHostApp
- The value for testHostAppthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setUiTestTargetApp(BuildTarget uiTestTargetApp)
uiTestTargetApp
to uiTestTargetApp.uiTestTargetApp
- The value for uiTestTargetAppthis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setUiTestTargetApp(Optional<? extends BuildTarget> uiTestTargetApp)
uiTestTargetApp
to uiTestTargetApp.uiTestTargetApp
- The value for uiTestTargetAppthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setSnapshotReferenceImagesPath(Either<SourcePath,String> snapshotReferenceImagesPath)
snapshotReferenceImagesPath
to snapshotReferenceImagesPath.snapshotReferenceImagesPath
- The value for snapshotReferenceImagesPaththis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setSnapshotReferenceImagesPath(Optional<? extends Either<SourcePath,String>> snapshotReferenceImagesPath)
snapshotReferenceImagesPath
to snapshotReferenceImagesPath.snapshotReferenceImagesPath
- The value for snapshotReferenceImagesPaththis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setSnapshotImagesDiffPath(Either<SourcePath,String> snapshotImagesDiffPath)
snapshotImagesDiffPath
to snapshotImagesDiffPath.snapshotImagesDiffPath
- The value for snapshotImagesDiffPaththis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setSnapshotImagesDiffPath(Optional<? extends Either<SourcePath,String>> snapshotImagesDiffPath)
snapshotImagesDiffPath
to snapshotImagesDiffPath.snapshotImagesDiffPath
- The value for snapshotImagesDiffPaththis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder putDestinationSpecifier(String key, String value)
destinationSpecifier
map.key
- The key in the destinationSpecifier mapvalue
- The associated value in the destinationSpecifier mapthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder putDestinationSpecifier(Map.Entry<String,? extends String> entry)
destinationSpecifier
map. Nulls are not permittedentry
- The key and value entrythis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setDestinationSpecifier(Map<String,? extends String> entries)
destinationSpecifier
map. Nulls are not permittedentries
- The entries that will be added to the destinationSpecifier mapthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder putAllDestinationSpecifier(Map<String,? extends String> entries)
destinationSpecifier
map. Nulls are not permittedentries
- The entries that will be added to the destinationSpecifier mapthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setEnv(com.google.common.collect.ImmutableMap<String,String> env)
env
to env.env
- The value for envthis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setEnv(Optional<? extends com.google.common.collect.ImmutableMap<String,String>> env)
env
to env.env
- The value for envthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder putConfigs(String key, com.google.common.collect.ImmutableMap<String,String> value)
configs
map.key
- The key in the configs mapvalue
- The associated value in the configs mapthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder putConfigs(Map.Entry<String,? extends com.google.common.collect.ImmutableMap<String,String>> entry)
configs
map. Nulls are not permittedentry
- The key and value entrythis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setConfigs(Map<String,? extends com.google.common.collect.ImmutableMap<String,String>> entries)
configs
map. Nulls are not permittedentries
- The entries that will be added to the configs mapthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder putAllConfigs(Map<String,? extends com.google.common.collect.ImmutableMap<String,String>> entries)
configs
map. Nulls are not permittedentries
- The entries that will be added to the configs mapthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setHeaderPathPrefix(String headerPathPrefix)
headerPathPrefix
to headerPathPrefix.headerPathPrefix
- The value for headerPathPrefixthis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setHeaderPathPrefix(Optional<String> headerPathPrefix)
headerPathPrefix
to headerPathPrefix.headerPathPrefix
- The value for headerPathPrefixthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setModular(boolean modular)
modular
attribute.
If not set, this attribute will have a default value as returned by the initializer of modular
.
modular
- The value for modularthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setModulemapMode(ModuleMapMode modulemapMode)
modulemapMode
to modulemapMode.modulemapMode
- The value for modulemapModethis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setModulemapMode(Optional<? extends ModuleMapMode> modulemapMode)
modulemapMode
to modulemapMode.modulemapMode
- The value for modulemapModethis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setTargetSdkVersion(String targetSdkVersion)
targetSdkVersion
to targetSdkVersion.targetSdkVersion
- The value for targetSdkVersionthis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setTargetSdkVersion(Optional<String> targetSdkVersion)
targetSdkVersion
to targetSdkVersion.targetSdkVersion
- The value for targetSdkVersionthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setExportedHeaders(SourceSortedSet exportedHeaders)
exportedHeaders
attribute.
If not set, this attribute will have a default value as returned by the initializer of exportedHeaders
.
exportedHeaders
- The value for exportedHeadersthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setExportedPlatformHeaders(PatternMatchedCollection<SourceSortedSet> exportedPlatformHeaders)
exportedPlatformHeaders
attribute.
If not set, this attribute will have a default value as returned by the initializer of exportedPlatformHeaders
.
exportedPlatformHeaders
- The value for exportedPlatformHeadersthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addExportedPreprocessorFlags(StringWithMacros element)
exportedPreprocessorFlags
list.element
- A exportedPreprocessorFlags elementthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addExportedPreprocessorFlags(StringWithMacros... elements)
exportedPreprocessorFlags
list.elements
- An array of exportedPreprocessorFlags elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setExportedPreprocessorFlags(Iterable<? extends StringWithMacros> elements)
exportedPreprocessorFlags
list.elements
- An iterable of exportedPreprocessorFlags elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addAllExportedPreprocessorFlags(Iterable<? extends StringWithMacros> elements)
exportedPreprocessorFlags
list.elements
- An iterable of exportedPreprocessorFlags elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setExportedPlatformPreprocessorFlags(PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> exportedPlatformPreprocessorFlags)
exportedPlatformPreprocessorFlags
attribute.
If not set, this attribute will have a default value as returned by the initializer of exportedPlatformPreprocessorFlags
.
exportedPlatformPreprocessorFlags
- The value for exportedPlatformPreprocessorFlagsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder putExportedLangPreprocessorFlags(CxxSource.Type key, com.google.common.collect.ImmutableList<StringWithMacros> value)
exportedLangPreprocessorFlags
map.key
- The key in the exportedLangPreprocessorFlags mapvalue
- The associated value in the exportedLangPreprocessorFlags mapthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder putExportedLangPreprocessorFlags(Map.Entry<CxxSource.Type,? extends com.google.common.collect.ImmutableList<StringWithMacros>> entry)
exportedLangPreprocessorFlags
map. Nulls are not permittedentry
- The key and value entrythis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setExportedLangPreprocessorFlags(Map<CxxSource.Type,? extends com.google.common.collect.ImmutableList<StringWithMacros>> entries)
exportedLangPreprocessorFlags
map. Nulls are not permittedentries
- The entries that will be added to the exportedLangPreprocessorFlags mapthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder putAllExportedLangPreprocessorFlags(Map<CxxSource.Type,? extends com.google.common.collect.ImmutableList<StringWithMacros>> entries)
exportedLangPreprocessorFlags
map. Nulls are not permittedentries
- The entries that will be added to the exportedLangPreprocessorFlags mapthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder putExportedLangPlatformPreprocessorFlags(CxxSource.Type key, PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> value)
exportedLangPlatformPreprocessorFlags
map.key
- The key in the exportedLangPlatformPreprocessorFlags mapvalue
- The associated value in the exportedLangPlatformPreprocessorFlags mapthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder putExportedLangPlatformPreprocessorFlags(Map.Entry<CxxSource.Type,? extends PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>>> entry)
exportedLangPlatformPreprocessorFlags
map. Nulls are not permittedentry
- The key and value entrythis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setExportedLangPlatformPreprocessorFlags(Map<CxxSource.Type,? extends PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>>> entries)
exportedLangPlatformPreprocessorFlags
map. Nulls are not permittedentries
- The entries that will be added to the exportedLangPlatformPreprocessorFlags mapthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder putAllExportedLangPlatformPreprocessorFlags(Map<CxxSource.Type,? extends PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>>> entries)
exportedLangPlatformPreprocessorFlags
map. Nulls are not permittedentries
- The entries that will be added to the exportedLangPlatformPreprocessorFlags mapthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addExportedLinkerFlags(StringWithMacros element)
exportedLinkerFlags
list.element
- A exportedLinkerFlags elementthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addExportedLinkerFlags(StringWithMacros... elements)
exportedLinkerFlags
list.elements
- An array of exportedLinkerFlags elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setExportedLinkerFlags(Iterable<? extends StringWithMacros> elements)
exportedLinkerFlags
list.elements
- An iterable of exportedLinkerFlags elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addAllExportedLinkerFlags(Iterable<? extends StringWithMacros> elements)
exportedLinkerFlags
list.elements
- An iterable of exportedLinkerFlags elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addExportedPostLinkerFlags(StringWithMacros element)
exportedPostLinkerFlags
list.element
- A exportedPostLinkerFlags elementthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addExportedPostLinkerFlags(StringWithMacros... elements)
exportedPostLinkerFlags
list.elements
- An array of exportedPostLinkerFlags elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setExportedPostLinkerFlags(Iterable<? extends StringWithMacros> elements)
exportedPostLinkerFlags
list.elements
- An iterable of exportedPostLinkerFlags elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addAllExportedPostLinkerFlags(Iterable<? extends StringWithMacros> elements)
exportedPostLinkerFlags
list.elements
- An iterable of exportedPostLinkerFlags elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setExportedPlatformLinkerFlags(PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> exportedPlatformLinkerFlags)
exportedPlatformLinkerFlags
attribute.
If not set, this attribute will have a default value as returned by the initializer of exportedPlatformLinkerFlags
.
exportedPlatformLinkerFlags
- The value for exportedPlatformLinkerFlagsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setExportedPostPlatformLinkerFlags(PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> exportedPostPlatformLinkerFlags)
exportedPostPlatformLinkerFlags
attribute.
If not set, this attribute will have a default value as returned by the initializer of exportedPostPlatformLinkerFlags
.
exportedPostPlatformLinkerFlags
- The value for exportedPostPlatformLinkerFlagsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addExportedDeps(BuildTarget element)
exportedDeps
sortedSet.element
- A exportedDeps elementthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addExportedDeps(BuildTarget... elements)
exportedDeps
sortedSet.elements
- An array of exportedDeps elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setExportedDeps(Iterable<? extends BuildTarget> elements)
exportedDeps
sortedSet.elements
- An iterable of exportedDeps elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addAllExportedDeps(Iterable<? extends BuildTarget> elements)
exportedDeps
sortedSet.elements
- An iterable of exportedDeps elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setExportedPlatformDeps(PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<BuildTarget>> exportedPlatformDeps)
exportedPlatformDeps
attribute.
If not set, this attribute will have a default value as returned by the initializer of exportedPlatformDeps
.
exportedPlatformDeps
- The value for exportedPlatformDepsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setSupportedPlatformsRegex(Pattern supportedPlatformsRegex)
supportedPlatformsRegex
to supportedPlatformsRegex.supportedPlatformsRegex
- The value for supportedPlatformsRegexthis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setSupportedPlatformsRegex(Optional<? extends Pattern> supportedPlatformsRegex)
supportedPlatformsRegex
to supportedPlatformsRegex.supportedPlatformsRegex
- The value for supportedPlatformsRegexthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setSoname(String soname)
soname
to soname.soname
- The value for sonamethis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setSoname(Optional<String> soname)
soname
to soname.soname
- The value for sonamethis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setStaticLibraryBasename(String staticLibraryBasename)
staticLibraryBasename
to staticLibraryBasename.staticLibraryBasename
- The value for staticLibraryBasenamethis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setStaticLibraryBasename(Optional<String> staticLibraryBasename)
staticLibraryBasename
to staticLibraryBasename.staticLibraryBasename
- The value for staticLibraryBasenamethis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setForceStatic(boolean forceStatic)
forceStatic
to forceStatic.forceStatic
- The value for forceStaticthis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setForceStatic(Optional<Boolean> forceStatic)
forceStatic
to forceStatic.forceStatic
- The value for forceStaticthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setLinkWhole(boolean linkWhole)
linkWhole
to linkWhole.linkWhole
- The value for linkWholethis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setLinkWhole(Optional<Boolean> linkWhole)
linkWhole
to linkWhole.linkWhole
- The value for linkWholethis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setCanBeAsset(boolean canBeAsset)
canBeAsset
to canBeAsset.canBeAsset
- The value for canBeAssetthis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setCanBeAsset(Optional<Boolean> canBeAsset)
canBeAsset
to canBeAsset.canBeAsset
- The value for canBeAssetthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setPreferredLinkage(NativeLinkableGroup.Linkage preferredLinkage)
preferredLinkage
to preferredLinkage.preferredLinkage
- The value for preferredLinkagethis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setPreferredLinkage(Optional<? extends NativeLinkableGroup.Linkage> preferredLinkage)
preferredLinkage
to preferredLinkage.preferredLinkage
- The value for preferredLinkagethis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setXcodePublicHeadersSymlinks(boolean xcodePublicHeadersSymlinks)
xcodePublicHeadersSymlinks
to xcodePublicHeadersSymlinks.xcodePublicHeadersSymlinks
- The value for xcodePublicHeadersSymlinksthis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setXcodePublicHeadersSymlinks(Optional<Boolean> xcodePublicHeadersSymlinks)
xcodePublicHeadersSymlinks
to xcodePublicHeadersSymlinks.xcodePublicHeadersSymlinks
- The value for xcodePublicHeadersSymlinksthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setXcodePrivateHeadersSymlinks(boolean xcodePrivateHeadersSymlinks)
xcodePrivateHeadersSymlinks
to xcodePrivateHeadersSymlinks.xcodePrivateHeadersSymlinks
- The value for xcodePrivateHeadersSymlinksthis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setXcodePrivateHeadersSymlinks(Optional<Boolean> xcodePrivateHeadersSymlinks)
xcodePrivateHeadersSymlinks
to xcodePrivateHeadersSymlinks.xcodePrivateHeadersSymlinks
- The value for xcodePrivateHeadersSymlinksthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addExtraXcodeSources(SourcePath element)
extraXcodeSources
list.element
- A extraXcodeSources elementthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addExtraXcodeSources(SourcePath... elements)
extraXcodeSources
list.elements
- An array of extraXcodeSources elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setExtraXcodeSources(Iterable<? extends SourcePath> elements)
extraXcodeSources
list.elements
- An iterable of extraXcodeSources elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addAllExtraXcodeSources(Iterable<? extends SourcePath> elements)
extraXcodeSources
list.elements
- An iterable of extraXcodeSources elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addExtraXcodeFiles(SourcePath element)
extraXcodeFiles
list.element
- A extraXcodeFiles elementthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addExtraXcodeFiles(SourcePath... elements)
extraXcodeFiles
list.elements
- An array of extraXcodeFiles elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setExtraXcodeFiles(Iterable<? extends SourcePath> elements)
extraXcodeFiles
list.elements
- An iterable of extraXcodeFiles elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addAllExtraXcodeFiles(Iterable<? extends SourcePath> elements)
extraXcodeFiles
list.elements
- An iterable of extraXcodeFiles elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setReexportAllHeaderDependencies(boolean reexportAllHeaderDependencies)
reexportAllHeaderDependencies
to reexportAllHeaderDependencies.reexportAllHeaderDependencies
- The value for reexportAllHeaderDependenciesthis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setReexportAllHeaderDependencies(Optional<Boolean> reexportAllHeaderDependencies)
reexportAllHeaderDependencies
to reexportAllHeaderDependencies.reexportAllHeaderDependencies
- The value for reexportAllHeaderDependenciesthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setBridgingHeader(SourcePath bridgingHeader)
bridgingHeader
to bridgingHeader.bridgingHeader
- The value for bridgingHeaderthis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setBridgingHeader(Optional<? extends SourcePath> bridgingHeader)
bridgingHeader
to bridgingHeader.bridgingHeader
- The value for bridgingHeaderthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setModuleName(String moduleName)
moduleName
to moduleName.moduleName
- The value for moduleNamethis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setModuleName(Optional<String> moduleName)
moduleName
to moduleName.moduleName
- The value for moduleNamethis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setPublicIncludeDirectories(com.google.common.collect.ImmutableSortedSet<String> publicIncludeDirectories)
publicIncludeDirectories
attribute.
If not set, this attribute will have a default value as returned by the initializer of publicIncludeDirectories
.
publicIncludeDirectories
- The value for publicIncludeDirectoriesthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setPublicSystemIncludeDirectories(com.google.common.collect.ImmutableSortedSet<String> publicSystemIncludeDirectories)
publicSystemIncludeDirectories
attribute.
If not set, this attribute will have a default value as returned by the initializer of publicSystemIncludeDirectories
.
publicSystemIncludeDirectories
- The value for publicSystemIncludeDirectoriesthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setExportedHeaderStyle(CxxPreprocessables.IncludeType exportedHeaderStyle)
exportedHeaderStyle
attribute.
If not set, this attribute will have a default value as returned by the initializer of exportedHeaderStyle
.
exportedHeaderStyle
- The value for exportedHeaderStylethis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setSupportsMergedLinking(boolean supportsMergedLinking)
supportsMergedLinking
to supportsMergedLinking.supportsMergedLinking
- The value for supportsMergedLinkingthis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setSupportsMergedLinking(Optional<Boolean> supportsMergedLinking)
supportsMergedLinking
to supportsMergedLinking.supportsMergedLinking
- The value for supportsMergedLinkingthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setLinkStyle(Linker.LinkableDepType linkStyle)
linkStyle
to linkStyle.linkStyle
- The value for linkStylethis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setLinkStyle(Optional<? extends Linker.LinkableDepType> linkStyle)
linkStyle
to linkStyle.linkStyle
- The value for linkStylethis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setLinkGroupMap(com.google.common.collect.ImmutableList<CxxLinkGroupMapping> linkGroupMap)
linkGroupMap
to linkGroupMap.linkGroupMap
- The value for linkGroupMapthis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setLinkGroupMap(Optional<? extends com.google.common.collect.ImmutableList<CxxLinkGroupMapping>> linkGroupMap)
linkGroupMap
to linkGroupMap.linkGroupMap
- The value for linkGroupMapthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setLinkGroup(String linkGroup)
linkGroup
to linkGroup.linkGroup
- The value for linkGroupthis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setLinkGroup(Optional<String> linkGroup)
linkGroup
to linkGroup.linkGroup
- The value for linkGroupthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setThinLto(boolean thinLto)
thinLto
attribute.
If not set, this attribute will have a default value as returned by the initializer of thinLto
.
thinLto
- The value for thinLtothis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setFatLto(boolean fatLto)
fatLto
attribute.
If not set, this attribute will have a default value as returned by the initializer of fatLto
.
fatLto
- The value for fatLtothis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addSrcs(SourceWithFlags element)
srcs
sortedSet.element
- A srcs elementthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addSrcs(SourceWithFlags... elements)
srcs
sortedSet.elements
- An array of srcs elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setSrcs(Iterable<? extends SourceWithFlags> elements)
srcs
sortedSet.elements
- An iterable of srcs elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addAllSrcs(Iterable<? extends SourceWithFlags> elements)
srcs
sortedSet.elements
- An iterable of srcs elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setPlatformSrcs(PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<SourceWithFlags>> platformSrcs)
platformSrcs
attribute.
If not set, this attribute will have a default value as returned by the initializer of platformSrcs
.
platformSrcs
- The value for platformSrcsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setHeaders(SourceSortedSet headers)
headers
attribute.
If not set, this attribute will have a default value as returned by the initializer of headers
.
headers
- The value for headersthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setRawHeaders(com.google.common.collect.ImmutableSortedSet<SourcePath> rawHeaders)
rawHeaders
attribute.
If not set, this attribute will have a default value as returned by the initializer of rawHeaders
.
rawHeaders
- The value for rawHeadersthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setIncludeDirectories(com.google.common.collect.ImmutableSortedSet<String> includeDirectories)
includeDirectories
attribute.
If not set, this attribute will have a default value as returned by the initializer of includeDirectories
.
includeDirectories
- The value for includeDirectoriesthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setPlatformHeaders(PatternMatchedCollection<SourceSortedSet> platformHeaders)
platformHeaders
attribute.
If not set, this attribute will have a default value as returned by the initializer of platformHeaders
.
platformHeaders
- The value for platformHeadersthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setPrefixHeader(SourcePath prefixHeader)
prefixHeader
to prefixHeader.prefixHeader
- The value for prefixHeaderthis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setPrefixHeader(Optional<? extends SourcePath> prefixHeader)
prefixHeader
to prefixHeader.prefixHeader
- The value for prefixHeaderthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setPrecompiledHeader(SourcePath precompiledHeader)
precompiledHeader
to precompiledHeader.precompiledHeader
- The value for precompiledHeaderthis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setPrecompiledHeader(Optional<? extends SourcePath> precompiledHeader)
precompiledHeader
to precompiledHeader.precompiledHeader
- The value for precompiledHeaderthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addCompilerFlags(StringWithMacros element)
compilerFlags
list.element
- A compilerFlags elementthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addCompilerFlags(StringWithMacros... elements)
compilerFlags
list.elements
- An array of compilerFlags elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setCompilerFlags(Iterable<? extends StringWithMacros> elements)
compilerFlags
list.elements
- An iterable of compilerFlags elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addAllCompilerFlags(Iterable<? extends StringWithMacros> elements)
compilerFlags
list.elements
- An iterable of compilerFlags elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder putLangCompilerFlags(CxxSource.Type key, com.google.common.collect.ImmutableList<StringWithMacros> value)
langCompilerFlags
map.key
- The key in the langCompilerFlags mapvalue
- The associated value in the langCompilerFlags mapthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder putLangCompilerFlags(Map.Entry<CxxSource.Type,? extends com.google.common.collect.ImmutableList<StringWithMacros>> entry)
langCompilerFlags
map. Nulls are not permittedentry
- The key and value entrythis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setLangCompilerFlags(Map<CxxSource.Type,? extends com.google.common.collect.ImmutableList<StringWithMacros>> entries)
langCompilerFlags
map. Nulls are not permittedentries
- The entries that will be added to the langCompilerFlags mapthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder putAllLangCompilerFlags(Map<CxxSource.Type,? extends com.google.common.collect.ImmutableList<StringWithMacros>> entries)
langCompilerFlags
map. Nulls are not permittedentries
- The entries that will be added to the langCompilerFlags mapthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder putLangPlatformCompilerFlags(CxxSource.Type key, PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> value)
langPlatformCompilerFlags
map.key
- The key in the langPlatformCompilerFlags mapvalue
- The associated value in the langPlatformCompilerFlags mapthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder putLangPlatformCompilerFlags(Map.Entry<CxxSource.Type,? extends PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>>> entry)
langPlatformCompilerFlags
map. Nulls are not permittedentry
- The key and value entrythis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setLangPlatformCompilerFlags(Map<CxxSource.Type,? extends PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>>> entries)
langPlatformCompilerFlags
map. Nulls are not permittedentries
- The entries that will be added to the langPlatformCompilerFlags mapthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder putAllLangPlatformCompilerFlags(Map<CxxSource.Type,? extends PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>>> entries)
langPlatformCompilerFlags
map. Nulls are not permittedentries
- The entries that will be added to the langPlatformCompilerFlags mapthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setPlatformCompilerFlags(PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> platformCompilerFlags)
platformCompilerFlags
attribute.
If not set, this attribute will have a default value as returned by the initializer of platformCompilerFlags
.
platformCompilerFlags
- The value for platformCompilerFlagsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addPreprocessorFlags(StringWithMacros element)
preprocessorFlags
list.element
- A preprocessorFlags elementthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addPreprocessorFlags(StringWithMacros... elements)
preprocessorFlags
list.elements
- An array of preprocessorFlags elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setPreprocessorFlags(Iterable<? extends StringWithMacros> elements)
preprocessorFlags
list.elements
- An iterable of preprocessorFlags elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addAllPreprocessorFlags(Iterable<? extends StringWithMacros> elements)
preprocessorFlags
list.elements
- An iterable of preprocessorFlags elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setPlatformPreprocessorFlags(PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> platformPreprocessorFlags)
platformPreprocessorFlags
attribute.
If not set, this attribute will have a default value as returned by the initializer of platformPreprocessorFlags
.
platformPreprocessorFlags
- The value for platformPreprocessorFlagsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder putLangPreprocessorFlags(CxxSource.Type key, com.google.common.collect.ImmutableList<StringWithMacros> value)
langPreprocessorFlags
map.key
- The key in the langPreprocessorFlags mapvalue
- The associated value in the langPreprocessorFlags mapthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder putLangPreprocessorFlags(Map.Entry<CxxSource.Type,? extends com.google.common.collect.ImmutableList<StringWithMacros>> entry)
langPreprocessorFlags
map. Nulls are not permittedentry
- The key and value entrythis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setLangPreprocessorFlags(Map<CxxSource.Type,? extends com.google.common.collect.ImmutableList<StringWithMacros>> entries)
langPreprocessorFlags
map. Nulls are not permittedentries
- The entries that will be added to the langPreprocessorFlags mapthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder putAllLangPreprocessorFlags(Map<CxxSource.Type,? extends com.google.common.collect.ImmutableList<StringWithMacros>> entries)
langPreprocessorFlags
map. Nulls are not permittedentries
- The entries that will be added to the langPreprocessorFlags mapthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder putLangPlatformPreprocessorFlags(CxxSource.Type key, PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> value)
langPlatformPreprocessorFlags
map.key
- The key in the langPlatformPreprocessorFlags mapvalue
- The associated value in the langPlatformPreprocessorFlags mapthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder putLangPlatformPreprocessorFlags(Map.Entry<CxxSource.Type,? extends PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>>> entry)
langPlatformPreprocessorFlags
map. Nulls are not permittedentry
- The key and value entrythis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setLangPlatformPreprocessorFlags(Map<CxxSource.Type,? extends PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>>> entries)
langPlatformPreprocessorFlags
map. Nulls are not permittedentries
- The entries that will be added to the langPlatformPreprocessorFlags mapthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder putAllLangPlatformPreprocessorFlags(Map<CxxSource.Type,? extends PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>>> entries)
langPlatformPreprocessorFlags
map. Nulls are not permittedentries
- The entries that will be added to the langPlatformPreprocessorFlags mapthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addLinkerFlags(StringWithMacros element)
linkerFlags
list.element
- A linkerFlags elementthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addLinkerFlags(StringWithMacros... elements)
linkerFlags
list.elements
- An array of linkerFlags elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setLinkerFlags(Iterable<? extends StringWithMacros> elements)
linkerFlags
list.elements
- An iterable of linkerFlags elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addAllLinkerFlags(Iterable<? extends StringWithMacros> elements)
linkerFlags
list.elements
- An iterable of linkerFlags elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addPostLinkerFlags(StringWithMacros element)
postLinkerFlags
list.element
- A postLinkerFlags elementthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addPostLinkerFlags(StringWithMacros... elements)
postLinkerFlags
list.elements
- An array of postLinkerFlags elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setPostLinkerFlags(Iterable<? extends StringWithMacros> elements)
postLinkerFlags
list.elements
- An iterable of postLinkerFlags elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addAllPostLinkerFlags(Iterable<? extends StringWithMacros> elements)
postLinkerFlags
list.elements
- An iterable of postLinkerFlags elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addLinkerExtraOutputs(String element)
linkerExtraOutputs
list.element
- A linkerExtraOutputs elementthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addLinkerExtraOutputs(String... elements)
linkerExtraOutputs
list.elements
- An array of linkerExtraOutputs elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setLinkerExtraOutputs(Iterable<String> elements)
linkerExtraOutputs
list.elements
- An iterable of linkerExtraOutputs elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addAllLinkerExtraOutputs(Iterable<String> elements)
linkerExtraOutputs
list.elements
- An iterable of linkerExtraOutputs elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setPlatformLinkerFlags(PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> platformLinkerFlags)
platformLinkerFlags
attribute.
If not set, this attribute will have a default value as returned by the initializer of platformLinkerFlags
.
platformLinkerFlags
- The value for platformLinkerFlagsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setExecutableName(String executableName)
executableName
to executableName.executableName
- The value for executableNamethis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setExecutableName(Optional<String> executableName)
executableName
to executableName.executableName
- The value for executableNamethis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setPostPlatformLinkerFlags(PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> postPlatformLinkerFlags)
postPlatformLinkerFlags
attribute.
If not set, this attribute will have a default value as returned by the initializer of postPlatformLinkerFlags
.
postPlatformLinkerFlags
- The value for postPlatformLinkerFlagsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setPlatformDeps(PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<BuildTarget>> platformDeps)
platformDeps
attribute.
If not set, this attribute will have a default value as returned by the initializer of platformDeps
.
platformDeps
- The value for platformDepsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setHeaderNamespace(String headerNamespace)
headerNamespace
to headerNamespace.headerNamespace
- The value for headerNamespacethis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setHeaderNamespace(Optional<String> headerNamespace)
headerNamespace
to headerNamespace.headerNamespace
- The value for headerNamespacethis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setCxxRuntimeType(Linker.CxxRuntimeType cxxRuntimeType)
cxxRuntimeType
to cxxRuntimeType.cxxRuntimeType
- The value for cxxRuntimeTypethis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setCxxRuntimeType(Optional<? extends Linker.CxxRuntimeType> cxxRuntimeType)
cxxRuntimeType
to cxxRuntimeType.cxxRuntimeType
- The value for cxxRuntimeTypethis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder putDefaults(String key, Flavor value)
defaults
map.key
- The key in the defaults mapvalue
- The associated value in the defaults mapthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder putDefaults(Map.Entry<String,? extends Flavor> entry)
defaults
map. Nulls are not permittedentry
- The key and value entrythis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setDefaults(Map<String,? extends Flavor> entries)
defaults
map. Nulls are not permittedentries
- The entries that will be added to the defaults mapthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder putAllDefaults(Map<String,? extends Flavor> entries)
defaults
map. Nulls are not permittedentries
- The entries that will be added to the defaults mapthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addLicenses(SourcePath element)
licenses
set.element
- A licenses elementthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addLicenses(SourcePath... elements)
licenses
set.elements
- An array of licenses elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setLicenses(Iterable<? extends SourcePath> elements)
licenses
set.elements
- An iterable of licenses elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addAllLicenses(Iterable<? extends SourcePath> elements)
licenses
set.elements
- An iterable of licenses elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addLabels(String element)
labels
sortedSet.element
- A labels elementthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addLabels(String... elements)
labels
sortedSet.elements
- An array of labels elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setLabels(Iterable<String> elements)
labels
sortedSet.elements
- An iterable of labels elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addAllLabels(Iterable<String> elements)
labels
sortedSet.elements
- An iterable of labels elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setDefaultTargetPlatform(UnconfiguredBuildTarget defaultTargetPlatform)
defaultTargetPlatform
to defaultTargetPlatform.defaultTargetPlatform
- The value for defaultTargetPlatformthis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setDefaultTargetPlatform(Optional<? extends UnconfiguredBuildTarget> defaultTargetPlatform)
defaultTargetPlatform
to defaultTargetPlatform.defaultTargetPlatform
- The value for defaultTargetPlatformthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addCompatibleWith(UnconfiguredBuildTarget element)
compatibleWith
list.element
- A compatibleWith elementthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addCompatibleWith(UnconfiguredBuildTarget... elements)
compatibleWith
list.elements
- An array of compatibleWith elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setCompatibleWith(Iterable<? extends UnconfiguredBuildTarget> elements)
compatibleWith
list.elements
- An iterable of compatibleWith elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addAllCompatibleWith(Iterable<? extends UnconfiguredBuildTarget> elements)
compatibleWith
list.elements
- An iterable of compatibleWith elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setName(String name)
name
attribute.name
- The value for namethis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addDeps(BuildTarget element)
deps
sortedSet.element
- A deps elementthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addDeps(BuildTarget... elements)
deps
sortedSet.elements
- An array of deps elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setDeps(Iterable<? extends BuildTarget> elements)
deps
sortedSet.elements
- An iterable of deps elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addAllDeps(Iterable<? extends BuildTarget> elements)
deps
sortedSet.elements
- An iterable of deps elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setDefaultPlatform(Flavor defaultPlatform)
defaultPlatform
to defaultPlatform.defaultPlatform
- The value for defaultPlatformthis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setDefaultPlatform(Optional<? extends Flavor> defaultPlatform)
defaultPlatform
to defaultPlatform.defaultPlatform
- The value for defaultPlatformthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addTests(BuildTarget element)
tests
sortedSet.element
- A tests elementthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addTests(BuildTarget... elements)
tests
sortedSet.elements
- An array of tests elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setTests(Iterable<? extends BuildTarget> elements)
tests
sortedSet.elements
- An iterable of tests elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addAllTests(Iterable<? extends BuildTarget> elements)
tests
sortedSet.elements
- An iterable of tests elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addFrameworks(FrameworkPath element)
frameworks
sortedSet.element
- A frameworks elementthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addFrameworks(FrameworkPath... elements)
frameworks
sortedSet.elements
- An array of frameworks elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setFrameworks(Iterable<? extends FrameworkPath> elements)
frameworks
sortedSet.elements
- An iterable of frameworks elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addAllFrameworks(Iterable<? extends FrameworkPath> elements)
frameworks
sortedSet.elements
- An iterable of frameworks elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addLibraries(FrameworkPath element)
libraries
sortedSet.element
- A libraries elementthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addLibraries(FrameworkPath... elements)
libraries
sortedSet.elements
- An array of libraries elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setLibraries(Iterable<? extends FrameworkPath> elements)
libraries
sortedSet.elements
- An iterable of libraries elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addAllLibraries(Iterable<? extends FrameworkPath> elements)
libraries
sortedSet.elements
- An iterable of libraries elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addSwiftCompilerFlags(StringWithMacros element)
swiftCompilerFlags
list.element
- A swiftCompilerFlags elementthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addSwiftCompilerFlags(StringWithMacros... elements)
swiftCompilerFlags
list.elements
- An array of swiftCompilerFlags elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setSwiftCompilerFlags(Iterable<? extends StringWithMacros> elements)
swiftCompilerFlags
list.elements
- An iterable of swiftCompilerFlags elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addAllSwiftCompilerFlags(Iterable<? extends StringWithMacros> elements)
swiftCompilerFlags
list.elements
- An iterable of swiftCompilerFlags elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setSwiftVersion(String swiftVersion)
swiftVersion
to swiftVersion.swiftVersion
- The value for swiftVersionthis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setSwiftVersion(Optional<String> swiftVersion)
swiftVersion
to swiftVersion.swiftVersion
- The value for swiftVersionthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setInfoPlist(SourcePath infoPlist)
infoPlist
attribute.infoPlist
- The value for infoPlistthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setXcodeProductType(String xcodeProductType)
xcodeProductType
to xcodeProductType.xcodeProductType
- The value for xcodeProductTypethis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setXcodeProductType(Optional<String> xcodeProductType)
xcodeProductType
to xcodeProductType.xcodeProductType
- The value for xcodeProductTypethis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setIsAppClip(boolean isAppClip)
isAppClip
to isAppClip.isAppClip
- The value for isAppClipthis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setIsAppClip(Optional<Boolean> isAppClip)
isAppClip
to isAppClip.isAppClip
- The value for isAppClipthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder putInfoPlistSubstitutions(String key, String value)
infoPlistSubstitutions
map.key
- The key in the infoPlistSubstitutions mapvalue
- The associated value in the infoPlistSubstitutions mapthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder putInfoPlistSubstitutions(Map.Entry<String,? extends String> entry)
infoPlistSubstitutions
map. Nulls are not permittedentry
- The key and value entrythis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setInfoPlistSubstitutions(Map<String,? extends String> entries)
infoPlistSubstitutions
map. Nulls are not permittedentries
- The entries that will be added to the infoPlistSubstitutions mapthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder putAllInfoPlistSubstitutions(Map<String,? extends String> entries)
infoPlistSubstitutions
map. Nulls are not permittedentries
- The entries that will be added to the infoPlistSubstitutions mapthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setAssetCatalogsCompilationOptions(AppleAssetCatalogsCompilationOptions assetCatalogsCompilationOptions)
assetCatalogsCompilationOptions
attribute.
If not set, this attribute will have a default value as returned by the initializer of assetCatalogsCompilationOptions
.
assetCatalogsCompilationOptions
- The value for assetCatalogsCompilationOptionsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addCodesignFlags(String element)
codesignFlags
list.element
- A codesignFlags elementthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addCodesignFlags(String... elements)
codesignFlags
list.elements
- An array of codesignFlags elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setCodesignFlags(Iterable<String> elements)
codesignFlags
list.elements
- An iterable of codesignFlags elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addAllCodesignFlags(Iterable<String> elements)
codesignFlags
list.elements
- An iterable of codesignFlags elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setCodesignIdentity(String codesignIdentity)
codesignIdentity
to codesignIdentity.codesignIdentity
- The value for codesignIdentitythis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setCodesignIdentity(Optional<String> codesignIdentity)
codesignIdentity
to codesignIdentity.codesignIdentity
- The value for codesignIdentitythis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addContacts(String element)
contacts
sortedSet.element
- A contacts elementthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addContacts(String... elements)
contacts
sortedSet.elements
- An array of contacts elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setContacts(Iterable<String> elements)
contacts
sortedSet.elements
- An iterable of contacts elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder addAllContacts(Iterable<String> elements)
contacts
sortedSet.elements
- An iterable of contacts elementsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setEntitlementsFile(SourcePath entitlementsFile)
entitlementsFile
to entitlementsFile.entitlementsFile
- The value for entitlementsFilethis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setEntitlementsFile(Optional<? extends SourcePath> entitlementsFile)
entitlementsFile
to entitlementsFile.entitlementsFile
- The value for entitlementsFilethis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setTestRuleTimeoutMs(long testRuleTimeoutMs)
testRuleTimeoutMs
to testRuleTimeoutMs.testRuleTimeoutMs
- The value for testRuleTimeoutMsthis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setTestRuleTimeoutMs(Optional<Long> testRuleTimeoutMs)
testRuleTimeoutMs
to testRuleTimeoutMs.testRuleTimeoutMs
- The value for testRuleTimeoutMsthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setRunner(BuildTarget runner)
runner
to runner.runner
- The value for runnerthis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setRunner(Optional<? extends BuildTarget> runner)
runner
to runner.runner
- The value for runnerthis
builder for use in a chained invocationpublic final AppleTestDescriptionArg.Builder setSpecs(TestRunnerSpec specs)
specs
to specs.specs
- The value for specsthis
builder for chained invocationpublic final AppleTestDescriptionArg.Builder setSpecs(Optional<? extends TestRunnerSpec> specs)
specs
to specs.specs
- The value for specsthis
builder for use in a chained invocationpublic AppleTestDescriptionArg build()
AppleTestDescriptionArg
.IllegalStateException
- if any required attributes are missing