@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ShTestDescriptionArg extends Object
ShTestDescription.AbstractShTestDescriptionArg.
Use the builder to create immutable instances:
ShTestDescriptionArg.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ShTestDescriptionArg.Builder
Builds instances of type
ShTestDescriptionArg. |
DEFAULT_TARGET_PLATFORM_PARAM_NAME| Modifier and Type | Method and Description |
|---|---|
static ShTestDescriptionArg.Builder |
builder()
Creates a builder for
ShTestDescriptionArg. |
boolean |
equals(Object another)
This instance is equal to all instances of
ShTestDescriptionArg that have equal attribute values. |
com.google.common.collect.ImmutableList<StringWithMacros> |
getArgs() |
com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> |
getCompatibleWith()
A list of
config_setting a target is compatible with. |
com.google.common.collect.ImmutableSortedSet<String> |
getContacts() |
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.ImmutableSortedSet<String> |
getLabels() |
com.google.common.collect.ImmutableSet<SourcePath> |
getLicenses() |
String |
getName()
Each rule has a name
|
com.google.common.collect.ImmutableSortedSet<SourcePath> |
getResources() |
boolean |
getRunTestSeparately() |
Optional<SourcePath> |
getTest() |
Optional<Long> |
getTestRuleTimeoutMs() |
Optional<String> |
getType() |
int |
hashCode()
Computes a hash code from attributes:
test, args, type, runTestSeparately, resources, env, licenses, labels, defaultTargetPlatform, compatibleWith, name, contacts, deps, testRuleTimeoutMs. |
String |
toString()
Prints the immutable value
ShTestDescriptionArg with attribute values. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitlabelsContainsAnyOfpublic Optional<SourcePath> getTest()
test attributepublic com.google.common.collect.ImmutableList<StringWithMacros> getArgs()
args attributepublic boolean getRunTestSeparately()
runTestSeparately attributepublic com.google.common.collect.ImmutableSortedSet<SourcePath> getResources()
resources attributepublic com.google.common.collect.ImmutableMap<String,StringWithMacros> getEnv()
env attributepublic com.google.common.collect.ImmutableSet<SourcePath> getLicenses()
licenses attributepublic com.google.common.collect.ImmutableSortedSet<String> getLabels()
labels attributepublic Optional<UnconfiguredBuildTarget> getDefaultTargetPlatform()
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.
public com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> getCompatibleWith()
config_setting a target is compatible with.public String getName()
public com.google.common.collect.ImmutableSortedSet<String> getContacts()
contacts attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getDeps()
deps attributepublic Optional<Long> getTestRuleTimeoutMs()
testRuleTimeoutMs attributepublic boolean equals(@Nullable Object another)
ShTestDescriptionArg that have equal attribute values.public int hashCode()
test, args, type, runTestSeparately, resources, env, licenses, labels, defaultTargetPlatform, compatibleWith, name, contacts, deps, testRuleTimeoutMs.public String toString()
ShTestDescriptionArg with attribute values.public static ShTestDescriptionArg.Builder builder()
ShTestDescriptionArg.