@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class JsBundleDescriptionArg extends Object
JsBundleDescription.AbstractJsBundleDescriptionArg
.
Use the builder to create immutable instances:
JsBundleDescriptionArg.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
JsBundleDescriptionArg.Builder
Builds instances of type
JsBundleDescriptionArg . |
DEFAULT_TARGET_PLATFORM_PARAM_NAME
Modifier and Type | Method and Description |
---|---|
static JsBundleDescriptionArg.Builder |
builder()
Creates a builder for
JsBundleDescriptionArg . |
boolean |
equals(Object another)
This instance is equal to all instances of
JsBundleDescriptionArg that have equal attribute values. |
Optional<String> |
getAndroidPackage()
For R.java
|
Optional<String> |
getBundleName()
The name of the bundle.
|
com.google.common.collect.ImmutableList<Pair<Flavor,String>> |
getBundleNameForFlavor()
A mapping from flavors to bundle names.
|
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() |
Either<com.google.common.collect.ImmutableSet<String>,String> |
getEntry() |
Optional<StringWithMacros> |
getExtraJson()
A JSON string, optionally containing macros.
|
com.google.common.collect.ImmutableSortedSet<String> |
getLabels() |
com.google.common.collect.ImmutableSet<SourcePath> |
getLicenses() |
String |
getName()
Each rule has a name
|
BuildTarget |
getWorker() |
int |
hashCode()
Computes a hash code from attributes:
entry , worker , androidPackage , compatibleWith , defaultTargetPlatform , labels , licenses , name , deps , extraJson , bundleName , bundleNameForFlavor . |
String |
toString()
Prints the immutable value
JsBundleDescriptionArg with attribute values. |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
labelsContainsAnyOf
computeBundleName
public Either<com.google.common.collect.ImmutableSet<String>,String> getEntry()
entry
attributepublic BuildTarget getWorker()
worker
attributepublic com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> getCompatibleWith()
BuildRuleArg
config_setting
a target is compatible with.compatibleWith
attributepublic Optional<UnconfiguredBuildTarget> getDefaultTargetPlatform()
BuildRuleArg
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.
defaultTargetPlatform
attributepublic com.google.common.collect.ImmutableSortedSet<String> getLabels()
labels
attributepublic com.google.common.collect.ImmutableSet<SourcePath> getLicenses()
licenses
attributepublic String getName()
ConstructorArg
name
attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getDeps()
deps
attributepublic Optional<StringWithMacros> getExtraJson()
public com.google.common.collect.ImmutableList<Pair<Flavor,String>> getBundleNameForFlavor()
public boolean equals(@Nullable Object another)
JsBundleDescriptionArg
that have equal attribute values.public int hashCode()
entry
, worker
, androidPackage
, compatibleWith
, defaultTargetPlatform
, labels
, licenses
, name
, deps
, extraJson
, bundleName
, bundleNameForFlavor
.public String toString()
JsBundleDescriptionArg
with attribute values.public static JsBundleDescriptionArg.Builder builder()
JsBundleDescriptionArg
.