@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class AndroidBundleDescriptionArg extends Object
AndroidBundleDescription.AbstractAndroidBundleDescriptionArg
.
Use the builder to create immutable instances:
AndroidBundleDescriptionArg.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
AndroidBundleDescriptionArg.Builder
Builds instances of type
AndroidBundleDescriptionArg . |
HasDuplicateAndroidResourceTypes.DuplicateResourceBehaviour
DEFAULT_TARGET_PLATFORM_PARAM_NAME
Modifier and Type | Method and Description |
---|---|
static AndroidBundleDescriptionArg.Builder |
builder()
Creates a builder for
AndroidBundleDescriptionArg . |
boolean |
equals(Object another)
This instance is equal to all instances of
AndroidBundleDescriptionArg that have equal attribute values. |
com.facebook.buck.android.AaptMode |
getAaptMode() |
com.google.common.collect.ImmutableList<String> |
getAdditionalAaptParams() |
com.google.common.collect.ImmutableSet<RDotTxtEntry.RType> |
getAllowedDuplicateResourceTypes() |
Optional<SourcePath> |
getAndroidAppModularityResult() |
Optional<com.facebook.buck.android.ProGuardObfuscateStep.SdkProguardType> |
getAndroidSdkProguardConfig() |
Optional<List<Query>> |
getApplicationModuleBlacklist() |
com.google.common.collect.ImmutableMap<String,com.google.common.collect.ImmutableList<BuildTarget>> |
getApplicationModuleConfigs() |
Optional<com.google.common.collect.ImmutableMap<String,com.google.common.collect.ImmutableList<String>>> |
getApplicationModuleDependencies() |
com.google.common.collect.ImmutableSet<String> |
getApplicationModulesWithManifest() |
com.google.common.collect.ImmutableSet<String> |
getApplicationModulesWithResources() |
com.google.common.collect.ImmutableSet<BuildTarget> |
getApplicationModuleTargets() |
Optional<CompressionAlgorithm> |
getAssetCompressionAlgorithm() |
com.google.common.collect.ImmutableSet<RDotTxtEntry.RType> |
getBannedDuplicateResourceTypes() |
BuildConfigFields |
getBuildConfigValues() |
Optional<SourcePath> |
getBuildConfigValuesFile() |
Optional<SourcePath> |
getBundleConfigFile() |
com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> |
getCompatibleWith()
A list of
config_setting a target is compatible with. |
com.google.common.collect.ImmutableSet<TargetCpuType> |
getCpuFilters() |
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() |
Optional<com.facebook.buck.android.DexStore> |
getDexCompression() |
int |
getDexGroupLibLimit() |
Optional<SourcePath> |
getDexReorderDataDumpFile() |
Optional<SourcePath> |
getDexReorderToolFile() |
String |
getDexTool() |
boolean |
getDisablePreDex() |
HasDuplicateAndroidResourceTypes.DuplicateResourceBehaviour |
getDuplicateResourceBehavior() |
Optional<SourcePath> |
getDuplicateResourceWhitelist() |
EnumSet<RDotTxtEntry.RType> |
getEffectiveBannedDuplicateResourceTypes() |
com.google.common.collect.ImmutableSet<ExopackageMode> |
getExopackageModes() |
com.google.common.collect.ImmutableSet<String> |
getExtraFilteredResources() |
boolean |
getIsCacheable() |
Optional<String> |
getKeepResourcePattern() |
BuildTarget |
getKeystore() |
com.google.common.collect.ImmutableSortedSet<String> |
getLabels() |
com.google.common.collect.ImmutableSet<SourcePath> |
getLicenses() |
long |
getLinearAllocHardLimit() |
com.google.common.collect.ImmutableSet<String> |
getLocales() |
Optional<String> |
getLocalizedStringFileName() |
Optional<SourcePath> |
getManifest() |
ManifestEntries |
getManifestEntries() |
Optional<SourcePath> |
getManifestSkeleton() |
boolean |
getMinimizePrimaryDexSize() |
Optional<SourcePath> |
getModuleManifestSkeleton() |
String |
getName()
Each rule has a name
|
Optional<BuildTarget> |
getNativeLibraryMergeCodeGenerator() |
Optional<BuildTarget> |
getNativeLibraryMergeGlue() |
Optional<com.google.common.collect.ImmutableSortedSet<String>> |
getNativeLibraryMergeLocalizedSymbols() |
com.google.common.collect.ImmutableMap<String,List<Pattern>> |
getNativeLibraryMergeMap() |
Optional<BuildTarget> |
getNativeLibraryProguardConfigGenerator() |
com.google.common.collect.ImmutableSet<BuildTarget> |
getNoDx() |
int |
getOptimizationPasses() |
Optional<String> |
getPackageType() |
Optional<StringWithMacros> |
getPostFilterResourcesCmd() |
Optional<StringWithMacros> |
getPreprocessJavaClassesBash() |
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getPreprocessJavaClassesDeps() |
Optional<SourcePath> |
getPrimaryDexClassesFile() |
com.google.common.collect.ImmutableList<String> |
getPrimaryDexPatterns() |
Optional<SourcePath> |
getPrimaryDexScenarioFile() |
Optional<SourcePath> |
getProguardConfig() |
com.google.common.collect.ImmutableList<String> |
getProguardJvmArgs() |
boolean |
getRedex() |
Optional<SourcePath> |
getRedexConfig() |
com.google.common.collect.ImmutableList<StringWithMacros> |
getRedexExtraArgs() |
com.google.common.collect.ImmutableList<Pattern> |
getRelinkerWhitelist() |
com.facebook.buck.android.ResourcesFilter.ResourceCompressionMode |
getResourceCompression() |
com.google.common.collect.ImmutableList<String> |
getResourceFilter() |
Optional<String> |
getResourceUnionPackage() |
Optional<SourcePath> |
getSecondaryDexHeadClassesFile() |
Optional<SourcePath> |
getSecondaryDexTailClassesFile() |
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getTests() |
boolean |
getUseDynamicFeature() |
boolean |
getUseSplitDex() |
int |
getXzCompressionLevel() |
int |
hashCode()
Computes a hash code from attributes:
keystore , useSplitDex , minimizePrimaryDexSize , dexCompression , primaryDexPatterns , primaryDexClassesFile , primaryDexScenarioFile , primaryDexScenarioOverflowAllowed , secondaryDexHeadClassesFile , secondaryDexTailClassesFile , bundleConfigFile , androidAppModularityResult , linearAllocHardLimit , dexGroupLibLimit , resourceFilter , preprocessJavaClassesDeps , xzCompressionLevel , packageAssetLibraries , compressAssetLibraries , assetCompressionAlgorithm , redex , redexConfig , redexExtraArgs , aaptMode , licenses , labels , defaultTargetPlatform , compatibleWith , name , deps , exopackage , exopackageModes , tests , manifest , manifestSkeleton , moduleManifestSkeleton , packageType , noDx , disablePreDex , androidSdkProguardConfig , optimizationPasses , proguardJvmArgs , proguardConfig , resourceCompression , skipCrunchPngs , includesVectorDrawables , noAutoVersionResources , noVersionTransitionsResources , noAutoAddOverlayResources , applicationModuleTargets , applicationModuleConfigs , applicationModulesWithResources , applicationModulesWithManifest , applicationModuleDependencies , isCacheable , additionalAaptParams , trimResourceIds , allowRDotJavaInSecondaryDex , keepResourcePattern , resourceUnionPackage , locales , aapt2LocaleFiltering , localizedStringFileName , buildStringSourceMap , ignoreAaptProguardConfig , cpuFilters , preprocessJavaClassesBash , reorderClassesIntraDex , dexTool , dexReorderToolFile , dexReorderDataDumpFile , nativeLibraryMergeMap , nativeLibraryMergeGlue , nativeLibraryMergeCodeGenerator , nativeLibraryMergeLocalizedSymbols , nativeLibraryProguardConfigGenerator , enableRelinker , relinkerWhitelist , manifestEntries , buildConfigValues , postFilterResourcesCmd , buildConfigValuesFile , skipProguard , useDynamicFeature , extraFilteredResources , duplicateResourceBehavior , allowedDuplicateResourceTypes , bannedDuplicateResourceTypes , duplicateResourceWhitelist , effectiveBannedDuplicateResourceTypes , applicationModuleBlacklist . |
boolean |
isAapt2LocaleFiltering()
Whether to filter locales using aapt2.
|
boolean |
isAllowRDotJavaInSecondaryDex() |
boolean |
isBuildStringSourceMap() |
boolean |
isCompressAssetLibraries() |
boolean |
isEnableRelinker() |
Optional<Boolean> |
isExopackage() |
boolean |
isIgnoreAaptProguardConfig() |
boolean |
isIncludesVectorDrawables() |
boolean |
isNoAutoAddOverlayResources() |
boolean |
isNoAutoVersionResources() |
boolean |
isNoVersionTransitionsResources() |
boolean |
isPackageAssetLibraries() |
boolean |
isPrimaryDexScenarioOverflowAllowed() |
boolean |
isReorderClassesIntraDex() |
Optional<Boolean> |
isSkipCrunchPngs() |
boolean |
isSkipProguard() |
boolean |
isTrimResourceIds() |
String |
toString()
Prints the immutable value
AndroidBundleDescriptionArg with attribute values. |
AndroidBundleDescriptionArg |
withApplicationModuleBlacklist(List<Query> queries) |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
labelsContainsAnyOf
public BuildTarget getKeystore()
keystore
attributepublic boolean getUseSplitDex()
useSplitDex
attributepublic boolean getMinimizePrimaryDexSize()
minimizePrimaryDexSize
attributepublic Optional<com.facebook.buck.android.DexStore> getDexCompression()
dexCompression
attributepublic com.google.common.collect.ImmutableList<String> getPrimaryDexPatterns()
primaryDexPatterns
attributepublic Optional<SourcePath> getPrimaryDexClassesFile()
primaryDexClassesFile
attributepublic Optional<SourcePath> getPrimaryDexScenarioFile()
primaryDexScenarioFile
attributepublic boolean isPrimaryDexScenarioOverflowAllowed()
primaryDexScenarioOverflowAllowed
attributepublic Optional<SourcePath> getSecondaryDexHeadClassesFile()
secondaryDexHeadClassesFile
attributepublic Optional<SourcePath> getSecondaryDexTailClassesFile()
secondaryDexTailClassesFile
attributepublic Optional<SourcePath> getBundleConfigFile()
bundleConfigFile
attributepublic Optional<SourcePath> getAndroidAppModularityResult()
androidAppModularityResult
attributepublic long getLinearAllocHardLimit()
linearAllocHardLimit
attributepublic int getDexGroupLibLimit()
dexGroupLibLimit
attributepublic com.google.common.collect.ImmutableList<String> getResourceFilter()
resourceFilter
attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getPreprocessJavaClassesDeps()
preprocessJavaClassesDeps
attributepublic int getXzCompressionLevel()
xzCompressionLevel
attributepublic boolean isPackageAssetLibraries()
packageAssetLibraries
attributepublic boolean isCompressAssetLibraries()
compressAssetLibraries
attributepublic Optional<CompressionAlgorithm> getAssetCompressionAlgorithm()
assetCompressionAlgorithm
attributepublic boolean getRedex()
redex
attributepublic Optional<SourcePath> getRedexConfig()
redexConfig
attributepublic com.google.common.collect.ImmutableList<StringWithMacros> getRedexExtraArgs()
redexExtraArgs
attributepublic com.facebook.buck.android.AaptMode getAaptMode()
getAaptMode
in interface AndroidGraphEnhancerArgs
aaptMode
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 com.google.common.collect.ImmutableSortedSet<BuildTarget> getDeps()
deps
attributepublic com.google.common.collect.ImmutableSet<ExopackageMode> getExopackageModes()
exopackageModes
attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getTests()
public Optional<SourcePath> getManifest()
manifest
attributepublic Optional<SourcePath> getManifestSkeleton()
manifestSkeleton
attributepublic Optional<SourcePath> getModuleManifestSkeleton()
moduleManifestSkeleton
attributepublic Optional<String> getPackageType()
packageType
attributepublic com.google.common.collect.ImmutableSet<BuildTarget> getNoDx()
noDx
attributepublic boolean getDisablePreDex()
disablePreDex
attributepublic Optional<com.facebook.buck.android.ProGuardObfuscateStep.SdkProguardType> getAndroidSdkProguardConfig()
androidSdkProguardConfig
attributepublic int getOptimizationPasses()
optimizationPasses
attributepublic com.google.common.collect.ImmutableList<String> getProguardJvmArgs()
proguardJvmArgs
attributepublic Optional<SourcePath> getProguardConfig()
proguardConfig
attributepublic com.facebook.buck.android.ResourcesFilter.ResourceCompressionMode getResourceCompression()
resourceCompression
attributepublic Optional<Boolean> isSkipCrunchPngs()
skipCrunchPngs
attributepublic boolean isIncludesVectorDrawables()
includesVectorDrawables
attributepublic boolean isNoAutoVersionResources()
noAutoVersionResources
attributepublic boolean isNoVersionTransitionsResources()
noVersionTransitionsResources
attributepublic boolean isNoAutoAddOverlayResources()
noAutoAddOverlayResources
attributepublic com.google.common.collect.ImmutableSet<BuildTarget> getApplicationModuleTargets()
applicationModuleTargets
attributepublic com.google.common.collect.ImmutableMap<String,com.google.common.collect.ImmutableList<BuildTarget>> getApplicationModuleConfigs()
applicationModuleConfigs
attributepublic com.google.common.collect.ImmutableSet<String> getApplicationModulesWithResources()
applicationModulesWithResources
attributepublic com.google.common.collect.ImmutableSet<String> getApplicationModulesWithManifest()
applicationModulesWithManifest
attributepublic Optional<com.google.common.collect.ImmutableMap<String,com.google.common.collect.ImmutableList<String>>> getApplicationModuleDependencies()
applicationModuleDependencies
attributepublic boolean getIsCacheable()
isCacheable
attributepublic com.google.common.collect.ImmutableList<String> getAdditionalAaptParams()
additionalAaptParams
attributepublic boolean isTrimResourceIds()
trimResourceIds
attributepublic boolean isAllowRDotJavaInSecondaryDex()
allowRDotJavaInSecondaryDex
attributepublic Optional<String> getKeepResourcePattern()
keepResourcePattern
attributepublic Optional<String> getResourceUnionPackage()
resourceUnionPackage
attributepublic com.google.common.collect.ImmutableSet<String> getLocales()
locales
attributepublic boolean isAapt2LocaleFiltering()
public Optional<String> getLocalizedStringFileName()
localizedStringFileName
attributepublic boolean isBuildStringSourceMap()
buildStringSourceMap
attributepublic boolean isIgnoreAaptProguardConfig()
ignoreAaptProguardConfig
attributepublic com.google.common.collect.ImmutableSet<TargetCpuType> getCpuFilters()
cpuFilters
attributepublic Optional<StringWithMacros> getPreprocessJavaClassesBash()
preprocessJavaClassesBash
attributepublic boolean isReorderClassesIntraDex()
reorderClassesIntraDex
attributepublic String getDexTool()
dexTool
attributepublic Optional<SourcePath> getDexReorderToolFile()
dexReorderToolFile
attributepublic Optional<SourcePath> getDexReorderDataDumpFile()
dexReorderDataDumpFile
attributepublic com.google.common.collect.ImmutableMap<String,List<Pattern>> getNativeLibraryMergeMap()
nativeLibraryMergeMap
attributepublic Optional<BuildTarget> getNativeLibraryMergeGlue()
nativeLibraryMergeGlue
attributepublic Optional<BuildTarget> getNativeLibraryMergeCodeGenerator()
nativeLibraryMergeCodeGenerator
attributepublic Optional<com.google.common.collect.ImmutableSortedSet<String>> getNativeLibraryMergeLocalizedSymbols()
nativeLibraryMergeLocalizedSymbols
attributepublic Optional<BuildTarget> getNativeLibraryProguardConfigGenerator()
nativeLibraryProguardConfigGenerator
attributepublic boolean isEnableRelinker()
enableRelinker
attributepublic com.google.common.collect.ImmutableList<Pattern> getRelinkerWhitelist()
relinkerWhitelist
attributepublic ManifestEntries getManifestEntries()
manifestEntries
attributepublic BuildConfigFields getBuildConfigValues()
buildConfigValues
attributepublic Optional<StringWithMacros> getPostFilterResourcesCmd()
postFilterResourcesCmd
attributepublic Optional<SourcePath> getBuildConfigValuesFile()
buildConfigValuesFile
attributepublic boolean isSkipProguard()
skipProguard
attributepublic boolean getUseDynamicFeature()
useDynamicFeature
attributepublic com.google.common.collect.ImmutableSet<String> getExtraFilteredResources()
extraFilteredResources
attributepublic HasDuplicateAndroidResourceTypes.DuplicateResourceBehaviour getDuplicateResourceBehavior()
duplicateResourceBehavior
attributepublic com.google.common.collect.ImmutableSet<RDotTxtEntry.RType> getAllowedDuplicateResourceTypes()
allowedDuplicateResourceTypes
attributepublic com.google.common.collect.ImmutableSet<RDotTxtEntry.RType> getBannedDuplicateResourceTypes()
bannedDuplicateResourceTypes
attributepublic Optional<SourcePath> getDuplicateResourceWhitelist()
duplicateResourceWhitelist
attributepublic EnumSet<RDotTxtEntry.RType> getEffectiveBannedDuplicateResourceTypes()
effectiveBannedDuplicateResourceTypes
attributepublic Optional<List<Query>> getApplicationModuleBlacklist()
applicationModuleBlacklist
attributepublic boolean equals(@Nullable Object another)
AndroidBundleDescriptionArg
that have equal attribute values.public int hashCode()
keystore
, useSplitDex
, minimizePrimaryDexSize
, dexCompression
, primaryDexPatterns
, primaryDexClassesFile
, primaryDexScenarioFile
, primaryDexScenarioOverflowAllowed
, secondaryDexHeadClassesFile
, secondaryDexTailClassesFile
, bundleConfigFile
, androidAppModularityResult
, linearAllocHardLimit
, dexGroupLibLimit
, resourceFilter
, preprocessJavaClassesDeps
, xzCompressionLevel
, packageAssetLibraries
, compressAssetLibraries
, assetCompressionAlgorithm
, redex
, redexConfig
, redexExtraArgs
, aaptMode
, licenses
, labels
, defaultTargetPlatform
, compatibleWith
, name
, deps
, exopackage
, exopackageModes
, tests
, manifest
, manifestSkeleton
, moduleManifestSkeleton
, packageType
, noDx
, disablePreDex
, androidSdkProguardConfig
, optimizationPasses
, proguardJvmArgs
, proguardConfig
, resourceCompression
, skipCrunchPngs
, includesVectorDrawables
, noAutoVersionResources
, noVersionTransitionsResources
, noAutoAddOverlayResources
, applicationModuleTargets
, applicationModuleConfigs
, applicationModulesWithResources
, applicationModulesWithManifest
, applicationModuleDependencies
, isCacheable
, additionalAaptParams
, trimResourceIds
, allowRDotJavaInSecondaryDex
, keepResourcePattern
, resourceUnionPackage
, locales
, aapt2LocaleFiltering
, localizedStringFileName
, buildStringSourceMap
, ignoreAaptProguardConfig
, cpuFilters
, preprocessJavaClassesBash
, reorderClassesIntraDex
, dexTool
, dexReorderToolFile
, dexReorderDataDumpFile
, nativeLibraryMergeMap
, nativeLibraryMergeGlue
, nativeLibraryMergeCodeGenerator
, nativeLibraryMergeLocalizedSymbols
, nativeLibraryProguardConfigGenerator
, enableRelinker
, relinkerWhitelist
, manifestEntries
, buildConfigValues
, postFilterResourcesCmd
, buildConfigValuesFile
, skipProguard
, useDynamicFeature
, extraFilteredResources
, duplicateResourceBehavior
, allowedDuplicateResourceTypes
, bannedDuplicateResourceTypes
, duplicateResourceWhitelist
, effectiveBannedDuplicateResourceTypes
, applicationModuleBlacklist
.public String toString()
AndroidBundleDescriptionArg
with attribute values.public static AndroidBundleDescriptionArg.Builder builder()
AndroidBundleDescriptionArg
.public AndroidBundleDescriptionArg withApplicationModuleBlacklist(List<Query> queries)
withApplicationModuleBlacklist
in interface HasApplicationModuleBlacklist