@NotThreadSafe public static final class AppleBundleDescriptionArg.Builder extends Object
AppleBundleDescriptionArg
.
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.
Modifier and Type | Method and Description |
---|---|
AppleBundleDescriptionArg.Builder |
addAllCodesignFlags(Iterable<String> elements)
Adds elements to
codesignFlags list. |
AppleBundleDescriptionArg.Builder |
addAllCompatibleWith(Iterable<? extends UnconfiguredBuildTarget> elements)
Adds elements to
compatibleWith list. |
AppleBundleDescriptionArg.Builder |
addAllContacts(Iterable<String> elements)
Adds elements to
contacts sortedSet. |
AppleBundleDescriptionArg.Builder |
addAllDeps(Iterable<? extends BuildTarget> elements)
Adds elements to
deps sortedSet. |
AppleBundleDescriptionArg.Builder |
addAllLabels(Iterable<String> elements)
Adds elements to
labels sortedSet. |
AppleBundleDescriptionArg.Builder |
addAllLicenses(Iterable<? extends SourcePath> elements)
Adds elements to
licenses set. |
AppleBundleDescriptionArg.Builder |
addAllTests(Iterable<? extends BuildTarget> elements)
Adds elements to
tests sortedSet. |
AppleBundleDescriptionArg.Builder |
addCodesignFlags(String... elements)
Adds elements to
codesignFlags list. |
AppleBundleDescriptionArg.Builder |
addCodesignFlags(String element)
Adds one element to
codesignFlags list. |
AppleBundleDescriptionArg.Builder |
addCompatibleWith(UnconfiguredBuildTarget... elements)
Adds elements to
compatibleWith list. |
AppleBundleDescriptionArg.Builder |
addCompatibleWith(UnconfiguredBuildTarget element)
Adds one element to
compatibleWith list. |
AppleBundleDescriptionArg.Builder |
addContacts(String... elements)
Adds elements to
contacts sortedSet. |
AppleBundleDescriptionArg.Builder |
addContacts(String element)
Adds one element to
contacts sortedSet. |
AppleBundleDescriptionArg.Builder |
addDeps(BuildTarget... elements)
Adds elements to
deps sortedSet. |
AppleBundleDescriptionArg.Builder |
addDeps(BuildTarget element)
Adds one element to
deps sortedSet. |
AppleBundleDescriptionArg.Builder |
addLabels(String... elements)
Adds elements to
labels sortedSet. |
AppleBundleDescriptionArg.Builder |
addLabels(String element)
Adds one element to
labels sortedSet. |
AppleBundleDescriptionArg.Builder |
addLicenses(SourcePath... elements)
Adds elements to
licenses set. |
AppleBundleDescriptionArg.Builder |
addLicenses(SourcePath element)
Adds one element to
licenses set. |
AppleBundleDescriptionArg.Builder |
addTests(BuildTarget... elements)
Adds elements to
tests sortedSet. |
AppleBundleDescriptionArg.Builder |
addTests(BuildTarget element)
Adds one element to
tests sortedSet. |
AppleBundleDescriptionArg |
build()
Builds a new
AppleBundleDescriptionArg . |
AppleBundleDescriptionArg.Builder |
from(com.facebook.buck.apple.AppleBundleDescription.AbstractAppleBundleDescriptionArg instance)
Copy abstract value type
AbstractAppleBundleDescriptionArg instance into builder. |
AppleBundleDescriptionArg.Builder |
from(AppleBundleDescriptionArg instance)
Fill a builder with attribute values from the provided
AppleBundleDescriptionArg instance. |
AppleBundleDescriptionArg.Builder |
from(BuildRuleArg instance)
Fill a builder with attribute values from the provided
com.facebook.buck.core.description.arg.BuildRuleArg instance. |
AppleBundleDescriptionArg.Builder |
from(ConstructorArg instance)
Fill a builder with attribute values from the provided
com.facebook.buck.core.description.arg.ConstructorArg instance. |
AppleBundleDescriptionArg.Builder |
from(HasAppleBundleFields instance)
Fill a builder with attribute values from the provided
com.facebook.buck.apple.HasAppleBundleFields instance. |
AppleBundleDescriptionArg.Builder |
from(HasAppleCodesignFields instance)
Fill a builder with attribute values from the provided
com.facebook.buck.apple.HasAppleCodesignFields instance. |
AppleBundleDescriptionArg.Builder |
from(HasContacts instance)
Fill a builder with attribute values from the provided
com.facebook.buck.core.description.arg.HasContacts instance. |
AppleBundleDescriptionArg.Builder |
from(HasDeclaredDeps instance)
Fill a builder with attribute values from the provided
com.facebook.buck.core.description.arg.HasDeclaredDeps instance. |
AppleBundleDescriptionArg.Builder |
from(HasDefaultPlatform instance)
Fill a builder with attribute values from the provided
com.facebook.buck.core.description.arg.HasDefaultPlatform instance. |
AppleBundleDescriptionArg.Builder |
from(HasTests instance)
Fill a builder with attribute values from the provided
com.facebook.buck.core.description.arg.HasTests instance. |
AppleBundleDescriptionArg.Builder |
putAllInfoPlistSubstitutions(Map<String,? extends String> entries)
Put all mappings from the specified map as entries to
infoPlistSubstitutions map. |
AppleBundleDescriptionArg.Builder |
putInfoPlistSubstitutions(Map.Entry<String,? extends String> entry)
Put one entry to the
infoPlistSubstitutions map. |
AppleBundleDescriptionArg.Builder |
putInfoPlistSubstitutions(String key,
String value)
Put one entry to the
infoPlistSubstitutions map. |
AppleBundleDescriptionArg.Builder |
setAssetCatalogsCompilationOptions(AppleAssetCatalogsCompilationOptions assetCatalogsCompilationOptions)
Initializes the value for the
assetCatalogsCompilationOptions attribute. |
AppleBundleDescriptionArg.Builder |
setBinary(BuildTarget binary)
Initializes the optional value
binary to binary. |
AppleBundleDescriptionArg.Builder |
setBinary(Optional<? extends BuildTarget> binary)
Initializes the optional value
binary to binary. |
AppleBundleDescriptionArg.Builder |
setCodesignFlags(Iterable<String> elements)
Sets or replaces all elements for
codesignFlags list. |
AppleBundleDescriptionArg.Builder |
setCodesignIdentity(Optional<String> codesignIdentity)
Initializes the optional value
codesignIdentity to codesignIdentity. |
AppleBundleDescriptionArg.Builder |
setCodesignIdentity(String codesignIdentity)
Initializes the optional value
codesignIdentity to codesignIdentity. |
AppleBundleDescriptionArg.Builder |
setCompatibleWith(Iterable<? extends UnconfiguredBuildTarget> elements)
Sets or replaces all elements for
compatibleWith list. |
AppleBundleDescriptionArg.Builder |
setContacts(Iterable<String> elements)
Sets or replaces all elements for
contacts sortedSet. |
AppleBundleDescriptionArg.Builder |
setDefaultPlatform(Flavor defaultPlatform)
Initializes the optional value
defaultPlatform to defaultPlatform. |
AppleBundleDescriptionArg.Builder |
setDefaultPlatform(Optional<? extends Flavor> defaultPlatform)
Initializes the optional value
defaultPlatform to defaultPlatform. |
AppleBundleDescriptionArg.Builder |
setDefaultTargetPlatform(Optional<? extends UnconfiguredBuildTarget> defaultTargetPlatform)
Initializes the optional value
defaultTargetPlatform to defaultTargetPlatform. |
AppleBundleDescriptionArg.Builder |
setDefaultTargetPlatform(UnconfiguredBuildTarget defaultTargetPlatform)
Initializes the optional value
defaultTargetPlatform to defaultTargetPlatform. |
AppleBundleDescriptionArg.Builder |
setDeps(Iterable<? extends BuildTarget> elements)
Sets or replaces all elements for
deps sortedSet. |
AppleBundleDescriptionArg.Builder |
setExtension(Either<AppleBundleExtension,String> extension)
Initializes the value for the
extension attribute. |
AppleBundleDescriptionArg.Builder |
setIbtoolFlags(com.google.common.collect.ImmutableList<String> ibtoolFlags)
Initializes the optional value
ibtoolFlags to ibtoolFlags. |
AppleBundleDescriptionArg.Builder |
setIbtoolFlags(Optional<? extends com.google.common.collect.ImmutableList<String>> ibtoolFlags)
Initializes the optional value
ibtoolFlags to ibtoolFlags. |
AppleBundleDescriptionArg.Builder |
setIbtoolModuleFlag(boolean ibtoolModuleFlag)
Initializes the optional value
ibtoolModuleFlag to ibtoolModuleFlag. |
AppleBundleDescriptionArg.Builder |
setIbtoolModuleFlag(Optional<Boolean> ibtoolModuleFlag)
Initializes the optional value
ibtoolModuleFlag to ibtoolModuleFlag. |
AppleBundleDescriptionArg.Builder |
setInfoPlist(SourcePath infoPlist)
Initializes the value for the
infoPlist attribute. |
AppleBundleDescriptionArg.Builder |
setInfoPlistSubstitutions(Map<String,? extends String> entries)
Sets or replaces all mappings from the specified map as entries for the
infoPlistSubstitutions map. |
AppleBundleDescriptionArg.Builder |
setIsAppClip(boolean isAppClip)
Initializes the optional value
isAppClip to isAppClip. |
AppleBundleDescriptionArg.Builder |
setIsAppClip(Optional<Boolean> isAppClip)
Initializes the optional value
isAppClip to isAppClip. |
AppleBundleDescriptionArg.Builder |
setLabels(Iterable<String> elements)
Sets or replaces all elements for
labels sortedSet. |
AppleBundleDescriptionArg.Builder |
setLicenses(Iterable<? extends SourcePath> elements)
Sets or replaces all elements for
licenses set. |
AppleBundleDescriptionArg.Builder |
setName(String name)
Initializes the value for the
name attribute. |
AppleBundleDescriptionArg.Builder |
setPlatformBinary(Optional<? extends PatternMatchedCollection<BuildTarget>> platformBinary)
Initializes the optional value
platformBinary to platformBinary. |
AppleBundleDescriptionArg.Builder |
setPlatformBinary(PatternMatchedCollection<BuildTarget> platformBinary)
Initializes the optional value
platformBinary to platformBinary. |
AppleBundleDescriptionArg.Builder |
setProductName(Optional<String> productName)
Initializes the optional value
productName to productName. |
AppleBundleDescriptionArg.Builder |
setProductName(String productName)
Initializes the optional value
productName to productName. |
AppleBundleDescriptionArg.Builder |
setResourceGroup(Optional<String> resourceGroup)
Initializes the optional value
resourceGroup to resourceGroup. |
AppleBundleDescriptionArg.Builder |
setResourceGroup(String resourceGroup)
Initializes the optional value
resourceGroup to resourceGroup. |
AppleBundleDescriptionArg.Builder |
setResourceGroupMap(com.google.common.collect.ImmutableList<CxxLinkGroupMapping> resourceGroupMap)
Initializes the optional value
resourceGroupMap to resourceGroupMap. |
AppleBundleDescriptionArg.Builder |
setResourceGroupMap(Optional<? extends com.google.common.collect.ImmutableList<CxxLinkGroupMapping>> resourceGroupMap)
Initializes the optional value
resourceGroupMap to resourceGroupMap. |
AppleBundleDescriptionArg.Builder |
setTests(Iterable<? extends BuildTarget> elements)
Sets or replaces all elements for
tests sortedSet. |
AppleBundleDescriptionArg.Builder |
setXcodeProductType(Optional<String> xcodeProductType)
Initializes the optional value
xcodeProductType to xcodeProductType. |
AppleBundleDescriptionArg.Builder |
setXcodeProductType(String xcodeProductType)
Initializes the optional value
xcodeProductType to xcodeProductType. |
public final AppleBundleDescriptionArg.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 AppleBundleDescriptionArg.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 AppleBundleDescriptionArg.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 AppleBundleDescriptionArg.Builder from(AppleBundleDescriptionArg instance)
AppleBundleDescriptionArg
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder from(com.facebook.buck.apple.AppleBundleDescription.AbstractAppleBundleDescriptionArg instance)
AbstractAppleBundleDescriptionArg
instance into builder.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.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 AppleBundleDescriptionArg.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 AppleBundleDescriptionArg.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 AppleBundleDescriptionArg.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 AppleBundleDescriptionArg.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 AppleBundleDescriptionArg.Builder setBinary(BuildTarget binary)
binary
to binary.binary
- The value for binarythis
builder for chained invocationpublic final AppleBundleDescriptionArg.Builder setBinary(Optional<? extends BuildTarget> binary)
binary
to binary.binary
- The value for binarythis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder setPlatformBinary(PatternMatchedCollection<BuildTarget> platformBinary)
platformBinary
to platformBinary.platformBinary
- The value for platformBinarythis
builder for chained invocationpublic final AppleBundleDescriptionArg.Builder setPlatformBinary(Optional<? extends PatternMatchedCollection<BuildTarget>> platformBinary)
platformBinary
to platformBinary.platformBinary
- The value for platformBinarythis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder setIbtoolModuleFlag(boolean ibtoolModuleFlag)
ibtoolModuleFlag
to ibtoolModuleFlag.ibtoolModuleFlag
- The value for ibtoolModuleFlagthis
builder for chained invocationpublic final AppleBundleDescriptionArg.Builder setIbtoolModuleFlag(Optional<Boolean> ibtoolModuleFlag)
ibtoolModuleFlag
to ibtoolModuleFlag.ibtoolModuleFlag
- The value for ibtoolModuleFlagthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder setIbtoolFlags(com.google.common.collect.ImmutableList<String> ibtoolFlags)
ibtoolFlags
to ibtoolFlags.ibtoolFlags
- The value for ibtoolFlagsthis
builder for chained invocationpublic final AppleBundleDescriptionArg.Builder setIbtoolFlags(Optional<? extends com.google.common.collect.ImmutableList<String>> ibtoolFlags)
ibtoolFlags
to ibtoolFlags.ibtoolFlags
- The value for ibtoolFlagsthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder setResourceGroupMap(com.google.common.collect.ImmutableList<CxxLinkGroupMapping> resourceGroupMap)
resourceGroupMap
to resourceGroupMap.resourceGroupMap
- The value for resourceGroupMapthis
builder for chained invocationpublic final AppleBundleDescriptionArg.Builder setResourceGroupMap(Optional<? extends com.google.common.collect.ImmutableList<CxxLinkGroupMapping>> resourceGroupMap)
resourceGroupMap
to resourceGroupMap.resourceGroupMap
- The value for resourceGroupMapthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder setResourceGroup(String resourceGroup)
resourceGroup
to resourceGroup.resourceGroup
- The value for resourceGroupthis
builder for chained invocationpublic final AppleBundleDescriptionArg.Builder setResourceGroup(Optional<String> resourceGroup)
resourceGroup
to resourceGroup.resourceGroup
- The value for resourceGroupthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder addDeps(BuildTarget element)
deps
sortedSet.element
- A deps elementthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder addDeps(BuildTarget... elements)
deps
sortedSet.elements
- An array of deps elementsthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder setDeps(Iterable<? extends BuildTarget> elements)
deps
sortedSet.elements
- An iterable of deps elementsthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder addAllDeps(Iterable<? extends BuildTarget> elements)
deps
sortedSet.elements
- An iterable of deps elementsthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder addLicenses(SourcePath element)
licenses
set.element
- A licenses elementthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder addLicenses(SourcePath... elements)
licenses
set.elements
- An array of licenses elementsthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder setLicenses(Iterable<? extends SourcePath> elements)
licenses
set.elements
- An iterable of licenses elementsthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder addAllLicenses(Iterable<? extends SourcePath> elements)
licenses
set.elements
- An iterable of licenses elementsthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder addLabels(String element)
labels
sortedSet.element
- A labels elementthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder addLabels(String... elements)
labels
sortedSet.elements
- An array of labels elementsthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder setLabels(Iterable<String> elements)
labels
sortedSet.elements
- An iterable of labels elementsthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder addAllLabels(Iterable<String> elements)
labels
sortedSet.elements
- An iterable of labels elementsthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder setDefaultTargetPlatform(UnconfiguredBuildTarget defaultTargetPlatform)
defaultTargetPlatform
to defaultTargetPlatform.defaultTargetPlatform
- The value for defaultTargetPlatformthis
builder for chained invocationpublic final AppleBundleDescriptionArg.Builder setDefaultTargetPlatform(Optional<? extends UnconfiguredBuildTarget> defaultTargetPlatform)
defaultTargetPlatform
to defaultTargetPlatform.defaultTargetPlatform
- The value for defaultTargetPlatformthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder addCompatibleWith(UnconfiguredBuildTarget element)
compatibleWith
list.element
- A compatibleWith elementthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder addCompatibleWith(UnconfiguredBuildTarget... elements)
compatibleWith
list.elements
- An array of compatibleWith elementsthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder setCompatibleWith(Iterable<? extends UnconfiguredBuildTarget> elements)
compatibleWith
list.elements
- An iterable of compatibleWith elementsthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder addAllCompatibleWith(Iterable<? extends UnconfiguredBuildTarget> elements)
compatibleWith
list.elements
- An iterable of compatibleWith elementsthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder setName(String name)
name
attribute.name
- The value for namethis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder setExtension(Either<AppleBundleExtension,String> extension)
extension
attribute.extension
- The value for extensionthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder setInfoPlist(SourcePath infoPlist)
infoPlist
attribute.infoPlist
- The value for infoPlistthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder setProductName(String productName)
productName
to productName.productName
- The value for productNamethis
builder for chained invocationpublic final AppleBundleDescriptionArg.Builder setProductName(Optional<String> productName)
productName
to productName.productName
- The value for productNamethis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder setXcodeProductType(String xcodeProductType)
xcodeProductType
to xcodeProductType.xcodeProductType
- The value for xcodeProductTypethis
builder for chained invocationpublic final AppleBundleDescriptionArg.Builder setXcodeProductType(Optional<String> xcodeProductType)
xcodeProductType
to xcodeProductType.xcodeProductType
- The value for xcodeProductTypethis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder setIsAppClip(boolean isAppClip)
isAppClip
to isAppClip.isAppClip
- The value for isAppClipthis
builder for chained invocationpublic final AppleBundleDescriptionArg.Builder setIsAppClip(Optional<Boolean> isAppClip)
isAppClip
to isAppClip.isAppClip
- The value for isAppClipthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.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 AppleBundleDescriptionArg.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 AppleBundleDescriptionArg.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 AppleBundleDescriptionArg.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 AppleBundleDescriptionArg.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 AppleBundleDescriptionArg.Builder addCodesignFlags(String element)
codesignFlags
list.element
- A codesignFlags elementthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder addCodesignFlags(String... elements)
codesignFlags
list.elements
- An array of codesignFlags elementsthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder setCodesignFlags(Iterable<String> elements)
codesignFlags
list.elements
- An iterable of codesignFlags elementsthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder addAllCodesignFlags(Iterable<String> elements)
codesignFlags
list.elements
- An iterable of codesignFlags elementsthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder setCodesignIdentity(String codesignIdentity)
codesignIdentity
to codesignIdentity.codesignIdentity
- The value for codesignIdentitythis
builder for chained invocationpublic final AppleBundleDescriptionArg.Builder setCodesignIdentity(Optional<String> codesignIdentity)
codesignIdentity
to codesignIdentity.codesignIdentity
- The value for codesignIdentitythis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder addContacts(String element)
contacts
sortedSet.element
- A contacts elementthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder addContacts(String... elements)
contacts
sortedSet.elements
- An array of contacts elementsthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder setContacts(Iterable<String> elements)
contacts
sortedSet.elements
- An iterable of contacts elementsthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder addAllContacts(Iterable<String> elements)
contacts
sortedSet.elements
- An iterable of contacts elementsthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder setDefaultPlatform(Flavor defaultPlatform)
defaultPlatform
to defaultPlatform.defaultPlatform
- The value for defaultPlatformthis
builder for chained invocationpublic final AppleBundleDescriptionArg.Builder setDefaultPlatform(Optional<? extends Flavor> defaultPlatform)
defaultPlatform
to defaultPlatform.defaultPlatform
- The value for defaultPlatformthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder addTests(BuildTarget element)
tests
sortedSet.element
- A tests elementthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder addTests(BuildTarget... elements)
tests
sortedSet.elements
- An array of tests elementsthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder setTests(Iterable<? extends BuildTarget> elements)
tests
sortedSet.elements
- An iterable of tests elementsthis
builder for use in a chained invocationpublic final AppleBundleDescriptionArg.Builder addAllTests(Iterable<? extends BuildTarget> elements)
tests
sortedSet.elements
- An iterable of tests elementsthis
builder for use in a chained invocationpublic AppleBundleDescriptionArg build()
AppleBundleDescriptionArg
.IllegalStateException
- if any required attributes are missing