@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class PrebuiltJarDescriptionArg extends Object
PrebuiltJarDescription.AbstractPrebuiltJarDescriptionArg.
Use the builder to create immutable instances:
PrebuiltJarDescriptionArg.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
PrebuiltJarDescriptionArg.Builder
Builds instances of type
PrebuiltJarDescriptionArg. |
DEFAULT_TARGET_PLATFORM_PARAM_NAME| Modifier and Type | Method and Description |
|---|---|
static PrebuiltJarDescriptionArg.Builder |
builder()
Creates a builder for
PrebuiltJarDescriptionArg. |
boolean |
equals(Object another)
This instance is equal to all instances of
PrebuiltJarDescriptionArg that have equal attribute values. |
SourcePath |
getBinaryJar() |
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 |
getGenerateAbi() |
Optional<SourcePath> |
getGwtJar() |
Optional<String> |
getJavadocUrl() |
com.google.common.collect.ImmutableSortedSet<String> |
getLabels() |
com.google.common.collect.ImmutableSet<SourcePath> |
getLicenses() |
Optional<String> |
getMavenCoords() |
String |
getName()
Each rule has a name
|
boolean |
getNeverMarkAsUnusedDependency() |
boolean |
getProvided() |
boolean |
getRequiredForSourceOnlyAbi() |
Optional<SourcePath> |
getSourceJar() |
int |
hashCode()
Computes a hash code from attributes:
binaryJar, sourceJar, gwtJar, javadocUrl, mavenCoords, provided, requiredForSourceOnlyAbi, generateAbi, neverMarkAsUnusedDependency, licenses, labels, defaultTargetPlatform, compatibleWith, name, deps. |
String |
toString()
Prints the immutable value
PrebuiltJarDescriptionArg with attribute values. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitlabelsContainsAnyOfpublic SourcePath getBinaryJar()
binaryJar attributepublic Optional<SourcePath> getSourceJar()
sourceJar attributepublic Optional<SourcePath> getGwtJar()
gwtJar attributepublic Optional<String> getJavadocUrl()
javadocUrl attributepublic Optional<String> getMavenCoords()
mavenCoords attributepublic boolean getProvided()
provided attributepublic boolean getRequiredForSourceOnlyAbi()
requiredForSourceOnlyAbi attributepublic boolean getGenerateAbi()
generateAbi attributepublic boolean getNeverMarkAsUnusedDependency()
neverMarkAsUnusedDependency 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)
PrebuiltJarDescriptionArg that have equal attribute values.public int hashCode()
binaryJar, sourceJar, gwtJar, javadocUrl, mavenCoords, provided, requiredForSourceOnlyAbi, generateAbi, neverMarkAsUnusedDependency, licenses, labels, defaultTargetPlatform, compatibleWith, name, deps.public String toString()
PrebuiltJarDescriptionArg with attribute values.public static PrebuiltJarDescriptionArg.Builder builder()
PrebuiltJarDescriptionArg.