@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class AppleBundleDescriptionArg extends Object
AppleBundleDescription.AbstractAppleBundleDescriptionArg
.
Use the builder to create immutable instances:
AppleBundleDescriptionArg.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
AppleBundleDescriptionArg.Builder
Builds instances of type
AppleBundleDescriptionArg . |
DEFAULT_TARGET_PLATFORM_PARAM_NAME
Modifier and Type | Method and Description |
---|---|
static AppleBundleDescriptionArg.Builder |
builder()
Creates a builder for
AppleBundleDescriptionArg . |
boolean |
equals(Object another)
This instance is equal to all instances of
AppleBundleDescriptionArg that have equal attribute values. |
AppleAssetCatalogsCompilationOptions |
getAssetCatalogsCompilationOptions() |
Optional<BuildTarget> |
getBinary() |
default com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getBinaryTargets()
Returns all binary targets of this bundle, which includes default and platform-specific ones.
|
com.google.common.collect.ImmutableList<String> |
getCodesignFlags() |
Optional<String> |
getCodesignIdentity() |
com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> |
getCompatibleWith()
A list of
config_setting a target is compatible with. |
com.google.common.collect.ImmutableSortedSet<String> |
getContacts() |
Optional<Flavor> |
getDefaultPlatform() |
Optional<UnconfiguredBuildTarget> |
getDefaultTargetPlatform()
The name of build target default "new" platform: it is used when a platform is not specified
either globally or in a target which used this target as a dependency.
|
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getDeps() |
Either<AppleBundleExtension,String> |
getExtension() |
Optional<com.google.common.collect.ImmutableList<String>> |
getIbtoolFlags() |
Optional<Boolean> |
getIbtoolModuleFlag() |
SourcePath |
getInfoPlist() |
com.google.common.collect.ImmutableMap<String,String> |
getInfoPlistSubstitutions() |
Optional<Boolean> |
getIsAppClip() |
com.google.common.collect.ImmutableSortedSet<String> |
getLabels() |
com.google.common.collect.ImmutableSet<SourcePath> |
getLicenses() |
String |
getName()
Each rule has a name
|
Optional<PatternMatchedCollection<BuildTarget>> |
getPlatformBinary() |
Optional<String> |
getProductName() |
Optional<String> |
getResourceGroup() |
Optional<com.google.common.collect.ImmutableList<CxxLinkGroupMapping>> |
getResourceGroupMap() |
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getTests() |
Optional<String> |
getXcodeProductType() |
int |
hashCode()
Computes a hash code from attributes:
binary , platformBinary , ibtoolModuleFlag , ibtoolFlags , resourceGroupMap , resourceGroup , deps , licenses , labels , defaultTargetPlatform , compatibleWith , name , extension , infoPlist , productName , xcodeProductType , isAppClip , infoPlistSubstitutions , assetCatalogsCompilationOptions , codesignFlags , codesignIdentity , contacts , defaultPlatform , tests . |
String |
toString()
Prints the immutable value
AppleBundleDescriptionArg with attribute values. |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
labelsContainsAnyOf
public Optional<BuildTarget> getBinary()
binary
attributepublic Optional<PatternMatchedCollection<BuildTarget>> getPlatformBinary()
platformBinary
attributepublic Optional<Boolean> getIbtoolModuleFlag()
ibtoolModuleFlag
attributepublic Optional<com.google.common.collect.ImmutableList<String>> getIbtoolFlags()
ibtoolFlags
attributepublic Optional<com.google.common.collect.ImmutableList<CxxLinkGroupMapping>> getResourceGroupMap()
resourceGroupMap
attributepublic Optional<String> getResourceGroup()
resourceGroup
attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getDeps()
deps
attributepublic com.google.common.collect.ImmutableSet<SourcePath> getLicenses()
licenses
attributepublic com.google.common.collect.ImmutableSortedSet<String> getLabels()
labels
attributepublic Optional<UnconfiguredBuildTarget> getDefaultTargetPlatform()
The value is a build target, but we specify it as string, because this function is not actually called, but the attr is fetched by name from the raw (unconfigured) target node.
public com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> getCompatibleWith()
config_setting
a target is compatible with.public String getName()
public Either<AppleBundleExtension,String> getExtension()
extension
attributepublic SourcePath getInfoPlist()
infoPlist
attributepublic Optional<String> getProductName()
productName
attributepublic Optional<String> getXcodeProductType()
xcodeProductType
attributepublic com.google.common.collect.ImmutableMap<String,String> getInfoPlistSubstitutions()
infoPlistSubstitutions
attributepublic AppleAssetCatalogsCompilationOptions getAssetCatalogsCompilationOptions()
assetCatalogsCompilationOptions
attributepublic com.google.common.collect.ImmutableList<String> getCodesignFlags()
public Optional<String> getCodesignIdentity()
public com.google.common.collect.ImmutableSortedSet<String> getContacts()
contacts
attributepublic Optional<Flavor> getDefaultPlatform()
public com.google.common.collect.ImmutableSortedSet<BuildTarget> getTests()
public boolean equals(@Nullable Object another)
AppleBundleDescriptionArg
that have equal attribute values.public int hashCode()
binary
, platformBinary
, ibtoolModuleFlag
, ibtoolFlags
, resourceGroupMap
, resourceGroup
, deps
, licenses
, labels
, defaultTargetPlatform
, compatibleWith
, name
, extension
, infoPlist
, productName
, xcodeProductType
, isAppClip
, infoPlistSubstitutions
, assetCatalogsCompilationOptions
, codesignFlags
, codesignIdentity
, contacts
, defaultPlatform
, tests
.public String toString()
AppleBundleDescriptionArg
with attribute values.public static AppleBundleDescriptionArg.Builder builder()
AppleBundleDescriptionArg
.public com.google.common.collect.ImmutableSortedSet<BuildTarget> getBinaryTargets()