@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class PythonLibraryDescriptionArg extends Object
PythonLibraryDescription.AbstractPythonLibraryDescriptionArg.
Use the builder to create immutable instances:
PythonLibraryDescriptionArg.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
PythonLibraryDescriptionArg.Builder
Builds instances of type
PythonLibraryDescriptionArg. |
DEFAULT_TARGET_PLATFORM_PARAM_NAME| Modifier and Type | Method and Description |
|---|---|
static PythonLibraryDescriptionArg.Builder |
builder()
Creates a builder for
PythonLibraryDescriptionArg. |
boolean |
equals(Object another)
This instance is equal to all instances of
PythonLibraryDescriptionArg that have equal attribute values. |
Optional<String> |
getBaseModule() |
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() |
com.google.common.collect.ImmutableSortedSet<String> |
getLabels() |
com.google.common.collect.ImmutableSet<SourcePath> |
getLicenses() |
String |
getName()
Each rule has a name
|
PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<BuildTarget>> |
getPlatformDeps() |
PatternMatchedCollection<SourceSortedSet> |
getPlatformResources() |
PatternMatchedCollection<SourceSortedSet> |
getPlatformSrcs() |
SourceSortedSet |
getResources() |
SourceSortedSet |
getSrcs() |
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getTests() |
Optional<VersionMatchedCollection<SourceSortedSet>> |
getVersionedResources() |
Optional<VersionMatchedCollection<SourceSortedSet>> |
getVersionedSrcs() |
Optional<Boolean> |
getZipSafe() |
int |
hashCode()
Computes a hash code from attributes:
srcs, versionedSrcs, platformSrcs, resources, versionedResources, platformResources, platformDeps, baseModule, zipSafe, excludeDepsFromMergedLinking, compatibleWith, defaultTargetPlatform, labels, licenses, name, deps, tests. |
boolean |
isExcludeDepsFromMergedLinking() |
String |
toString()
Prints the immutable value
PythonLibraryDescriptionArg with attribute values. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitlabelsContainsAnyOfpublic SourceSortedSet getSrcs()
srcs attributepublic Optional<VersionMatchedCollection<SourceSortedSet>> getVersionedSrcs()
versionedSrcs attributepublic PatternMatchedCollection<SourceSortedSet> getPlatformSrcs()
platformSrcs attributepublic SourceSortedSet getResources()
resources attributepublic Optional<VersionMatchedCollection<SourceSortedSet>> getVersionedResources()
versionedResources attributepublic PatternMatchedCollection<SourceSortedSet> getPlatformResources()
platformResources attributepublic PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<BuildTarget>> getPlatformDeps()
platformDeps attributepublic Optional<String> getBaseModule()
baseModule attributepublic boolean isExcludeDepsFromMergedLinking()
excludeDepsFromMergedLinking attributepublic com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> getCompatibleWith()
BuildRuleArgconfig_setting a target is compatible with.compatibleWith attributepublic Optional<UnconfiguredBuildTarget> getDefaultTargetPlatform()
BuildRuleArgThe 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()
ConstructorArgname attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getDeps()
deps attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getTests()
tests attributepublic boolean equals(@Nullable Object another)
PythonLibraryDescriptionArg that have equal attribute values.public int hashCode()
srcs, versionedSrcs, platformSrcs, resources, versionedResources, platformResources, platformDeps, baseModule, zipSafe, excludeDepsFromMergedLinking, compatibleWith, defaultTargetPlatform, labels, licenses, name, deps, tests.public String toString()
PythonLibraryDescriptionArg with attribute values.public static PythonLibraryDescriptionArg.Builder builder()
PythonLibraryDescriptionArg.