@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class GoTestDescriptionArg extends Object
GoTestDescription.AbstractGoTestDescriptionArg
.
Use the builder to create immutable instances:
GoTestDescriptionArg.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
GoTestDescriptionArg.Builder
Builds instances of type
GoTestDescriptionArg . |
DEFAULT_TARGET_PLATFORM_PARAM_NAME
Modifier and Type | Method and Description |
---|---|
static GoTestDescriptionArg.Builder |
builder()
Creates a builder for
GoTestDescriptionArg . |
boolean |
equals(Object another)
This instance is equal to all instances of
GoTestDescriptionArg that have equal attribute values. |
com.google.common.collect.ImmutableList<String> |
getAssemblerFlags() |
com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> |
getCompatibleWith()
A list of
config_setting a target is compatible with. |
com.google.common.collect.ImmutableList<String> |
getCompilerFlags() |
com.google.common.collect.ImmutableSortedSet<String> |
getContacts() |
Optional<com.facebook.buck.features.go.GoTestCoverStep.Mode> |
getCoverageMode() |
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() |
com.google.common.collect.ImmutableList<String> |
getExternalLinkerFlags() |
com.google.common.collect.ImmutableSortedSet<String> |
getLabels() |
Optional<BuildTarget> |
getLibrary() |
com.google.common.collect.ImmutableSet<SourcePath> |
getLicenses() |
com.google.common.collect.ImmutableList<String> |
getLinkerFlags() |
Optional<com.facebook.buck.features.go.GoLinkStep.LinkMode> |
getLinkMode() |
Optional<Linker.LinkableDepType> |
getLinkStyle() |
String |
getName()
Each rule has a name
|
Optional<String> |
getPackageName() |
Optional<Flavor> |
getPlatform() |
com.google.common.collect.ImmutableSortedSet<SourcePath> |
getResources() |
Optional<BuildTarget> |
getRunner() |
boolean |
getRunTestSeparately() |
Optional<TestRunnerSpec> |
getSpecs() |
com.google.common.collect.ImmutableSortedSet<SourcePath> |
getSrcs() |
Optional<Long> |
getTestRuleTimeoutMs() |
int |
hashCode()
Computes a hash code from attributes:
library , packageName , coverageMode , env , runTestSeparately , compatibleWith , defaultTargetPlatform , labels , licenses , name , contacts , deps , srcs , runner , specs , testRuleTimeoutMs , platform , linkStyle , linkMode , compilerFlags , assemblerFlags , linkerFlags , externalLinkerFlags , resources . |
String |
toString()
Prints the immutable value
GoTestDescriptionArg with attribute values. |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
labelsContainsAnyOf
public Optional<BuildTarget> getLibrary()
library
attributepublic Optional<String> getPackageName()
packageName
attributepublic Optional<com.facebook.buck.features.go.GoTestCoverStep.Mode> getCoverageMode()
coverageMode
attributepublic com.google.common.collect.ImmutableMap<String,StringWithMacros> getEnv()
env
attributepublic boolean getRunTestSeparately()
runTestSeparately
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<String> getContacts()
contacts
attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getDeps()
deps
attributepublic com.google.common.collect.ImmutableSortedSet<SourcePath> getSrcs()
srcs
attributepublic Optional<BuildTarget> getRunner()
runner
attributepublic Optional<TestRunnerSpec> getSpecs()
specs
attributepublic Optional<Long> getTestRuleTimeoutMs()
testRuleTimeoutMs
attributepublic Optional<Linker.LinkableDepType> getLinkStyle()
linkStyle
attributepublic Optional<com.facebook.buck.features.go.GoLinkStep.LinkMode> getLinkMode()
linkMode
attributepublic com.google.common.collect.ImmutableList<String> getCompilerFlags()
compilerFlags
attributepublic com.google.common.collect.ImmutableList<String> getAssemblerFlags()
assemblerFlags
attributepublic com.google.common.collect.ImmutableList<String> getLinkerFlags()
linkerFlags
attributepublic com.google.common.collect.ImmutableList<String> getExternalLinkerFlags()
externalLinkerFlags
attributepublic com.google.common.collect.ImmutableSortedSet<SourcePath> getResources()
resources
attributepublic boolean equals(@Nullable Object another)
GoTestDescriptionArg
that have equal attribute values.public int hashCode()
library
, packageName
, coverageMode
, env
, runTestSeparately
, compatibleWith
, defaultTargetPlatform
, labels
, licenses
, name
, contacts
, deps
, srcs
, runner
, specs
, testRuleTimeoutMs
, platform
, linkStyle
, linkMode
, compilerFlags
, assemblerFlags
, linkerFlags
, externalLinkerFlags
, resources
.public String toString()
GoTestDescriptionArg
with attribute values.public static GoTestDescriptionArg.Builder builder()
GoTestDescriptionArg
.