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