@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class PythonBinaryDescriptionArg extends Object
PythonBinaryDescription.AbstractPythonBinaryDescriptionArg.
Use the builder to create immutable instances:
PythonBinaryDescriptionArg.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
PythonBinaryDescriptionArg.Builder
Builds instances of type
PythonBinaryDescriptionArg. |
DEFAULT_TARGET_PLATFORM_PARAM_NAME| Modifier and Type | Method and Description |
|---|---|
static PythonBinaryDescriptionArg.Builder |
builder()
Creates a builder for
PythonBinaryDescriptionArg. |
boolean |
equals(Object another)
This instance is equal to all instances of
PythonBinaryDescriptionArg that have equal attribute values. |
Optional<String> |
getBaseModule() |
com.google.common.collect.ImmutableList<StringWithMacros> |
getBuildArgs() |
com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> |
getCompatibleWith()
A list of
config_setting a target is compatible with. |
Optional<Boolean> |
getCompile() |
Optional<Flavor> |
getCxxPlatform() |
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<String> |
getExtension() |
com.google.common.collect.ImmutableSortedSet<String> |
getLabels() |
com.google.common.collect.ImmutableSet<SourcePath> |
getLicenses() |
com.google.common.collect.ImmutableList<StringWithMacros> |
getLinkerFlags() |
Optional<SourcePath> |
getMain() |
Optional<String> |
getMainModule() |
String |
getName()
Each rule has a name
|
Optional<PythonBuckConfig.PackageStyle> |
getPackageStyle() |
Optional<String> |
getPlatform() |
PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<BuildTarget>> |
getPlatformDeps() |
com.google.common.collect.ImmutableSet<BuildTarget> |
getPreloadDeps() |
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getTests() |
Optional<String> |
getVersionUniverse() |
Optional<Boolean> |
getZipSafe() |
int |
hashCode()
Computes a hash code from attributes:
main, mainModule, platformDeps, baseModule, zipSafe, buildArgs, platform, cxxPlatform, packageStyle, preloadDeps, linkerFlags, extension, compile, compatibleWith, defaultTargetPlatform, labels, licenses, name, deps, tests, versionUniverse. |
String |
toString()
Prints the immutable value
PythonBinaryDescriptionArg with attribute values. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitlabelsContainsAnyOfpublic Optional<SourcePath> getMain()
main attributepublic Optional<String> getMainModule()
mainModule attributepublic PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<BuildTarget>> getPlatformDeps()
platformDeps attributepublic Optional<String> getBaseModule()
baseModule attributepublic com.google.common.collect.ImmutableList<StringWithMacros> getBuildArgs()
buildArgs attributepublic Optional<Flavor> getCxxPlatform()
cxxPlatform attributepublic Optional<PythonBuckConfig.PackageStyle> getPackageStyle()
packageStyle attributepublic com.google.common.collect.ImmutableSet<BuildTarget> getPreloadDeps()
preloadDeps attributepublic com.google.common.collect.ImmutableList<StringWithMacros> getLinkerFlags()
linkerFlags 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 Optional<String> getVersionUniverse()
versionUniverse attributepublic boolean equals(@Nullable Object another)
PythonBinaryDescriptionArg that have equal attribute values.public int hashCode()
main, mainModule, platformDeps, baseModule, zipSafe, buildArgs, platform, cxxPlatform, packageStyle, preloadDeps, linkerFlags, extension, compile, compatibleWith, defaultTargetPlatform, labels, licenses, name, deps, tests, versionUniverse.public String toString()
PythonBinaryDescriptionArg with attribute values.public static PythonBinaryDescriptionArg.Builder builder()
PythonBinaryDescriptionArg.