@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class RustTestDescriptionArg extends Object
RustTestDescription.AbstractRustTestDescriptionArg.
Use the builder to create immutable instances:
RustTestDescriptionArg.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
RustTestDescriptionArg.Builder
Builds instances of type
RustTestDescriptionArg. |
DEFAULT_TARGET_PLATFORM_PARAM_NAME| Modifier and Type | Method and Description |
|---|---|
static RustTestDescriptionArg.Builder |
builder()
Creates a builder for
RustTestDescriptionArg. |
boolean |
equals(Object another)
This instance is equal to all instances of
RustTestDescriptionArg that have equal attribute values. |
com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> |
getCompatibleWith()
A list of
config_setting a target is compatible with. |
com.google.common.collect.ImmutableSet<String> |
getContacts() |
Optional<String> |
getCrate() |
Optional<String> |
getCrateRoot() |
Optional<Flavor> |
getDefaultPlatform() |
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> |
getEdition() |
com.google.common.collect.ImmutableSortedMap<String,StringWithMacros> |
getEnv() |
com.google.common.collect.ImmutableSortedSet<String> |
getFeatures() |
com.google.common.collect.ImmutableSortedSet<String> |
getLabels() |
com.google.common.collect.ImmutableSet<SourcePath> |
getLicenses() |
com.google.common.collect.ImmutableList<StringWithMacros> |
getLinkerFlags() |
Optional<Linker.LinkableDepType> |
getLinkStyle() |
com.google.common.collect.ImmutableSortedMap<SourcePath,String> |
getMappedSrcs() |
String |
getName()
Each rule has a name
|
com.google.common.collect.ImmutableSortedMap<String,BuildTarget> |
getNamedDeps() |
PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<BuildTarget>> |
getPlatformDeps() |
com.google.common.collect.ImmutableList<StringWithMacros> |
getRustcFlags() |
com.google.common.collect.ImmutableSortedSet<SourcePath> |
getSrcs() |
Optional<String> |
getVersionUniverse() |
int |
hashCode()
Computes a hash code from attributes:
contacts, linkerFlags, linkStyle, rpath, framework, mappedSrcs, env, edition, features, rustcFlags, crate, crateRoot, platformDeps, compatibleWith, defaultTargetPlatform, labels, licenses, name, namedDeps, deps, srcs, defaultPlatform, versionUniverse. |
boolean |
isFramework() |
boolean |
isRpath() |
String |
toString()
Prints the immutable value
RustTestDescriptionArg with attribute values. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitlabelsContainsAnyOfpublic com.google.common.collect.ImmutableSet<String> getContacts()
contacts attributepublic com.google.common.collect.ImmutableList<StringWithMacros> getLinkerFlags()
linkerFlags attributepublic Optional<Linker.LinkableDepType> getLinkStyle()
linkStyle attributepublic boolean isRpath()
rpath attributepublic boolean isFramework()
framework attributepublic com.google.common.collect.ImmutableSortedMap<SourcePath,String> getMappedSrcs()
mappedSrcs attributepublic com.google.common.collect.ImmutableSortedMap<String,StringWithMacros> getEnv()
env attributepublic com.google.common.collect.ImmutableSortedSet<String> getFeatures()
features attributepublic com.google.common.collect.ImmutableList<StringWithMacros> getRustcFlags()
rustcFlags attributepublic PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<BuildTarget>> getPlatformDeps()
platformDeps 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.ImmutableSortedMap<String,BuildTarget> getNamedDeps()
namedDeps attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getDeps()
deps attributepublic com.google.common.collect.ImmutableSortedSet<SourcePath> getSrcs()
srcs attributepublic Optional<Flavor> getDefaultPlatform()
defaultPlatform attributepublic Optional<String> getVersionUniverse()
versionUniverse attributepublic boolean equals(@Nullable Object another)
RustTestDescriptionArg that have equal attribute values.public int hashCode()
contacts, linkerFlags, linkStyle, rpath, framework, mappedSrcs, env, edition, features, rustcFlags, crate, crateRoot, platformDeps, compatibleWith, defaultTargetPlatform, labels, licenses, name, namedDeps, deps, srcs, defaultPlatform, versionUniverse.public String toString()
RustTestDescriptionArg with attribute values.public static RustTestDescriptionArg.Builder builder()
RustTestDescriptionArg.