@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class PythonTestDescriptionArg extends Object
PythonTestDescription.AbstractPythonTestDescriptionArg
.
Use the builder to create immutable instances:
PythonTestDescriptionArg.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
PythonTestDescriptionArg.Builder
Builds instances of type
PythonTestDescriptionArg . |
DEFAULT_TARGET_PLATFORM_PARAM_NAME
Modifier and Type | Method and Description |
---|---|
static PythonTestDescriptionArg.Builder |
builder()
Creates a builder for
PythonTestDescriptionArg . |
boolean |
equals(Object another)
This instance is equal to all instances of
PythonTestDescriptionArg that have equal attribute values. |
com.google.common.collect.ImmutableSet<BuildTarget> |
getAdditionalCoverageTargets() |
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() |
com.google.common.collect.ImmutableSortedSet<String> |
getContacts() |
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() |
com.google.common.collect.ImmutableMap<String,StringWithMacros> |
getEnv() |
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<String> |
getMainModule() |
String |
getName()
Each rule has a name
|
com.google.common.collect.ImmutableList<NeededCoverageSpec> |
getNeededCoverage() |
Optional<PythonBuckConfig.PackageStyle> |
getPackageStyle() |
Optional<String> |
getPlatform() |
PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<BuildTarget>> |
getPlatformDeps() |
PatternMatchedCollection<SourceSortedSet> |
getPlatformResources() |
PatternMatchedCollection<SourceSortedSet> |
getPlatformSrcs() |
com.google.common.collect.ImmutableSet<BuildTarget> |
getPreloadDeps() |
SourceSortedSet |
getResources() |
Optional<BuildTarget> |
getRunner() |
Optional<TestRunnerSpec> |
getSpecs() |
SourceSortedSet |
getSrcs() |
Optional<Long> |
getTestRuleTimeoutMs() |
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getTests() |
Optional<VersionMatchedCollection<SourceSortedSet>> |
getVersionedResources() |
Optional<VersionMatchedCollection<SourceSortedSet>> |
getVersionedSrcs() |
Optional<String> |
getVersionUniverse() |
Optional<Boolean> |
getZipSafe() |
int |
hashCode()
Computes a hash code from attributes:
mainModule , platform , cxxPlatform , extension , packageStyle , preloadDeps , linkerFlags , neededCoverage , buildArgs , env , additionalCoverageTargets , compile , contacts , runner , specs , testRuleTimeoutMs , srcs , versionedSrcs , platformSrcs , resources , versionedResources , platformResources , platformDeps , baseModule , zipSafe , excludeDepsFromMergedLinking , compatibleWith , defaultTargetPlatform , labels , licenses , name , deps , tests , versionUniverse . |
boolean |
isExcludeDepsFromMergedLinking() |
String |
toString()
Prints the immutable value
PythonTestDescriptionArg with attribute values. |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
labelsContainsAnyOf
public Optional<String> getMainModule()
mainModule
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<NeededCoverageSpec> getNeededCoverage()
neededCoverage
attributepublic com.google.common.collect.ImmutableList<StringWithMacros> getBuildArgs()
buildArgs
attributepublic com.google.common.collect.ImmutableMap<String,StringWithMacros> getEnv()
env
attributepublic com.google.common.collect.ImmutableSet<BuildTarget> getAdditionalCoverageTargets()
additionalCoverageTargets
attributepublic com.google.common.collect.ImmutableSortedSet<String> getContacts()
contacts
attributepublic Optional<BuildTarget> getRunner()
runner
attributepublic Optional<TestRunnerSpec> getSpecs()
specs
attributepublic Optional<Long> getTestRuleTimeoutMs()
testRuleTimeoutMs
attributepublic 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()
BuildRuleArg
config_setting
a target is compatible with.compatibleWith
attributepublic Optional<UnconfiguredBuildTarget> getDefaultTargetPlatform()
BuildRuleArg
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.
defaultTargetPlatform
attributepublic com.google.common.collect.ImmutableSortedSet<String> getLabels()
labels
attributepublic com.google.common.collect.ImmutableSet<SourcePath> getLicenses()
licenses
attributepublic String getName()
ConstructorArg
name
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)
PythonTestDescriptionArg
that have equal attribute values.public int hashCode()
mainModule
, platform
, cxxPlatform
, extension
, packageStyle
, preloadDeps
, linkerFlags
, neededCoverage
, buildArgs
, env
, additionalCoverageTargets
, compile
, contacts
, runner
, specs
, testRuleTimeoutMs
, srcs
, versionedSrcs
, platformSrcs
, resources
, versionedResources
, platformResources
, platformDeps
, baseModule
, zipSafe
, excludeDepsFromMergedLinking
, compatibleWith
, defaultTargetPlatform
, labels
, licenses
, name
, deps
, tests
, versionUniverse
.public String toString()
PythonTestDescriptionArg
with attribute values.public static PythonTestDescriptionArg.Builder builder()
PythonTestDescriptionArg
.