@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class FileGroupDescriptionArg extends Object
FilegroupDescription.AbstractFileGroupDescriptionArg
.
Use the builder to create immutable instances:
FileGroupDescriptionArg.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
FileGroupDescriptionArg.Builder
Builds instances of type
FileGroupDescriptionArg . |
DEFAULT_TARGET_PLATFORM_PARAM_NAME
Modifier and Type | Method and Description |
---|---|
static FileGroupDescriptionArg.Builder |
builder()
Creates a builder for
FileGroupDescriptionArg . |
boolean |
equals(Object another)
This instance is equal to all instances of
FileGroupDescriptionArg that have equal attribute values. |
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.ImmutableSortedSet<String> |
getLabels() |
com.google.common.collect.ImmutableSet<SourcePath> |
getLicenses() |
String |
getName()
Each rule has a name
|
com.google.common.collect.ImmutableSortedSet<SourcePath> |
getSrcs() |
int |
hashCode()
Computes a hash code from attributes:
compatibleWith , defaultTargetPlatform , labels , licenses , name , srcs . |
String |
toString()
Prints the immutable value
FileGroupDescriptionArg with attribute values. |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
labelsContainsAnyOf
public 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<SourcePath> getSrcs()
srcs
attributepublic boolean equals(@Nullable Object another)
FileGroupDescriptionArg
that have equal attribute values.public int hashCode()
compatibleWith
, defaultTargetPlatform
, labels
, licenses
, name
, srcs
.public String toString()
FileGroupDescriptionArg
with attribute values.public static FileGroupDescriptionArg.Builder builder()
FileGroupDescriptionArg
.