@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class AndroidResourceDescriptionArg extends Object
AndroidResourceDescription.AbstractAndroidResourceDescriptionArg
.
Use the builder to create immutable instances:
AndroidResourceDescriptionArg.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
AndroidResourceDescriptionArg.Builder
Builds instances of type
AndroidResourceDescriptionArg . |
DEFAULT_TARGET_PLATFORM_PARAM_NAME
Modifier and Type | Method and Description |
---|---|
static AndroidResourceDescriptionArg.Builder |
builder()
Creates a builder for
AndroidResourceDescriptionArg . |
boolean |
equals(Object another)
This instance is equal to all instances of
AndroidResourceDescriptionArg that have equal attribute values. |
Optional<Either<SourcePath,com.google.common.collect.ImmutableSortedMap<String,SourcePath>>> |
getAssets() |
com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> |
getCompatibleWith()
A list of
config_setting a target is compatible with. |
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() |
boolean |
getHasWhitelistedStrings() |
com.google.common.collect.ImmutableSortedSet<String> |
getLabels() |
com.google.common.collect.ImmutableSet<SourcePath> |
getLicenses() |
Optional<SourcePath> |
getManifest() |
String |
getName()
Each rule has a name
|
Optional<String> |
getPackage() |
Optional<Path> |
getProjectAssets() |
Optional<Path> |
getProjectRes() |
Optional<Either<SourcePath,com.google.common.collect.ImmutableSortedMap<String,SourcePath>>> |
getRes() |
boolean |
getResourceUnion() |
int |
hashCode()
Computes a hash code from attributes:
res , assets , projectRes , projectAssets , hasWhitelistedStrings , getPackage , manifest , resourceUnion , licenses , labels , defaultTargetPlatform , compatibleWith , name , deps . |
String |
toString()
Prints the immutable value
AndroidResourceDescriptionArg with attribute values. |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
labelsContainsAnyOf
public Optional<Either<SourcePath,com.google.common.collect.ImmutableSortedMap<String,SourcePath>>> getRes()
res
attributepublic Optional<Either<SourcePath,com.google.common.collect.ImmutableSortedMap<String,SourcePath>>> getAssets()
assets
attributepublic Optional<Path> getProjectAssets()
projectAssets
attributepublic boolean getHasWhitelistedStrings()
hasWhitelistedStrings
attributepublic Optional<SourcePath> getManifest()
manifest
attributepublic boolean getResourceUnion()
resourceUnion
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 boolean equals(@Nullable Object another)
AndroidResourceDescriptionArg
that have equal attribute values.public int hashCode()
res
, assets
, projectRes
, projectAssets
, hasWhitelistedStrings
, getPackage
, manifest
, resourceUnion
, licenses
, labels
, defaultTargetPlatform
, compatibleWith
, name
, deps
.public String toString()
AndroidResourceDescriptionArg
with attribute values.public static AndroidResourceDescriptionArg.Builder builder()
AndroidResourceDescriptionArg
.