@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class JavaBinaryDescriptionArg extends Object
JavaBinaryDescription.AbstractJavaBinaryDescriptionArg
.
Use the builder to create immutable instances:
JavaBinaryDescriptionArg.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
JavaBinaryDescriptionArg.Builder
Builds instances of type
JavaBinaryDescriptionArg . |
DEFAULT_TARGET_PLATFORM_PARAM_NAME
Modifier and Type | Method and Description |
---|---|
static JavaBinaryDescriptionArg.Builder |
builder()
Creates a builder for
JavaBinaryDescriptionArg . |
boolean |
equals(Object another)
This instance is equal to all instances of
JavaBinaryDescriptionArg that have equal attribute values. |
com.google.common.collect.ImmutableSet<Pattern> |
getBlacklist() |
com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> |
getCompatibleWith()
A list of
config_setting a target is compatible with. |
Optional<Flavor> |
getDefaultCxxPlatform() |
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<Boolean> |
getDisallowAllDuplicates() |
com.google.common.collect.ImmutableSortedSet<String> |
getLabels() |
com.google.common.collect.ImmutableSet<SourcePath> |
getLicenses() |
Optional<String> |
getMainClass() |
Optional<SourcePath> |
getManifestFile() |
Optional<Boolean> |
getMergeManifests() |
Optional<Path> |
getMetaInfDirectory() |
String |
getName()
Each rule has a name
|
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getTests() |
int |
hashCode()
Computes a hash code from attributes:
mainClass , manifestFile , mergeManifests , disallowAllDuplicates , metaInfDirectory , blacklist , defaultCxxPlatform , licenses , labels , defaultTargetPlatform , compatibleWith , name , deps , tests . |
String |
toString()
Prints the immutable value
JavaBinaryDescriptionArg with attribute values. |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
labelsContainsAnyOf
public Optional<SourcePath> getManifestFile()
manifestFile
attributepublic Optional<Boolean> getMergeManifests()
mergeManifests
attributepublic Optional<Boolean> getDisallowAllDuplicates()
disallowAllDuplicates
attributepublic Optional<Path> getMetaInfDirectory()
metaInfDirectory
attributepublic com.google.common.collect.ImmutableSet<Pattern> getBlacklist()
blacklist
attributepublic Optional<Flavor> getDefaultCxxPlatform()
defaultCxxPlatform
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.ImmutableSortedSet<BuildTarget> getTests()
public boolean equals(@Nullable Object another)
JavaBinaryDescriptionArg
that have equal attribute values.public int hashCode()
mainClass
, manifestFile
, mergeManifests
, disallowAllDuplicates
, metaInfDirectory
, blacklist
, defaultCxxPlatform
, licenses
, labels
, defaultTargetPlatform
, compatibleWith
, name
, deps
, tests
.public String toString()
JavaBinaryDescriptionArg
with attribute values.public static JavaBinaryDescriptionArg.Builder builder()
JavaBinaryDescriptionArg
.