@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class HttpArchiveDescriptionArg extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpArchiveDescriptionArg.Builder
Builds instances of type
HttpArchiveDescriptionArg. |
static class |
com.facebook.buck.file.HttpCommonDescriptionArg.HttpCommonDescriptionArgHelpers
Helper functions that validate properties of
HttpCommonDescriptionArg |
DEFAULT_TARGET_PLATFORM_PARAM_NAME| Modifier and Type | Method and Description |
|---|---|
static HttpArchiveDescriptionArg.Builder |
builder()
Creates a builder for
HttpArchiveDescriptionArg. |
boolean |
equals(Object another)
This instance is equal to all instances of
HttpArchiveDescriptionArg 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
|
Optional<String> |
getOut() |
String |
getSha256() |
Optional<String> |
getStripPrefix() |
Optional<String> |
getType() |
com.google.common.collect.ImmutableList<URI> |
getUrls() |
int |
hashCode()
Computes a hash code from attributes:
stripPrefix, type, sha256, urls, out, licenses, labels, defaultTargetPlatform, compatibleWith, name. |
String |
toString()
Prints the immutable value
HttpArchiveDescriptionArg with attribute values. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitlabelsContainsAnyOfpublic Optional<String> getStripPrefix()
stripPrefix attributepublic String getSha256()
sha256 attributepublic com.google.common.collect.ImmutableList<URI> getUrls()
urls 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)
HttpArchiveDescriptionArg that have equal attribute values.public int hashCode()
stripPrefix, type, sha256, urls, out, licenses, labels, defaultTargetPlatform, compatibleWith, name.public String toString()
HttpArchiveDescriptionArg with attribute values.public static HttpArchiveDescriptionArg.Builder builder()
HttpArchiveDescriptionArg.