@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class WorkerToolDescriptionArg extends Object
WorkerToolDescription.AbstractWorkerToolDescriptionArg
.
Use the builder to create immutable instances:
WorkerToolDescriptionArg.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
WorkerToolDescriptionArg.Builder
Builds instances of type
WorkerToolDescriptionArg . |
DEFAULT_TARGET_PLATFORM_PARAM_NAME
Modifier and Type | Method and Description |
---|---|
static WorkerToolDescriptionArg.Builder |
builder()
Creates a builder for
WorkerToolDescriptionArg . |
boolean |
equals(Object another)
This instance is equal to all instances of
WorkerToolDescriptionArg that have equal attribute values. |
Either<StringWithMacros,com.google.common.collect.ImmutableList<StringWithMacros>> |
getArgs() |
com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> |
getCompatibleWith()
A list of
config_setting a target is compatible with. |
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.ImmutableMap<String,StringWithMacros> |
getEnv() |
Optional<BuildTarget> |
getExe() |
com.google.common.collect.ImmutableSortedSet<String> |
getLabels() |
com.google.common.collect.ImmutableSet<SourcePath> |
getLicenses() |
Optional<Integer> |
getMaxWorkers() |
Optional<Integer> |
getMaxWorkersPerThreadPercent() |
String |
getName()
Each rule has a name
|
Optional<Boolean> |
getPersistent() |
Optional<Boolean> |
getSoloAsync() |
int |
hashCode()
Computes a hash code from attributes:
env , args , exe , maxWorkers , maxWorkersPerThreadPercent , persistent , soloAsync , licenses , labels , defaultTargetPlatform , compatibleWith , name . |
String |
toString()
Prints the immutable value
WorkerToolDescriptionArg with attribute values. |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
labelsContainsAnyOf
public com.google.common.collect.ImmutableMap<String,StringWithMacros> getEnv()
env
attributepublic Either<StringWithMacros,com.google.common.collect.ImmutableList<StringWithMacros>> getArgs()
args
attributepublic Optional<BuildTarget> getExe()
exe
attributepublic Optional<Integer> getMaxWorkers()
maxWorkers
attributepublic Optional<Integer> getMaxWorkersPerThreadPercent()
maxWorkersPerThreadPercent
attributepublic Optional<Boolean> getPersistent()
persistent
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 boolean equals(@Nullable Object another)
WorkerToolDescriptionArg
that have equal attribute values.public int hashCode()
env
, args
, exe
, maxWorkers
, maxWorkersPerThreadPercent
, persistent
, soloAsync
, licenses
, labels
, defaultTargetPlatform
, compatibleWith
, name
.public String toString()
WorkerToolDescriptionArg
with attribute values.public static WorkerToolDescriptionArg.Builder builder()
WorkerToolDescriptionArg
.