@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class GwtBinaryDescriptionArg extends Object
GwtBinaryDescription.AbstractGwtBinaryDescriptionArg
.
Use the builder to create immutable instances:
GwtBinaryDescriptionArg.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
GwtBinaryDescriptionArg.Builder
Builds instances of type
GwtBinaryDescriptionArg . |
DEFAULT_TARGET_PLATFORM_PARAM_NAME
Modifier and Type | Method and Description |
---|---|
static GwtBinaryDescriptionArg.Builder |
builder()
Creates a builder for
GwtBinaryDescriptionArg . |
boolean |
equals(Object another)
This instance is equal to all instances of
GwtBinaryDescriptionArg 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<BuildTarget> |
getDeps() |
Optional<Boolean> |
getDraftCompile()
If
true , the GWT Compiler's -draftCompile flag will be set. |
com.google.common.collect.ImmutableList<String> |
getExperimentalArgs()
In practice, these may be values such as
-XenableClosureCompiler , -XdisableClassMetadata , -XdisableCastChecking , or -XfragmentMerge . |
com.google.common.collect.ImmutableSortedSet<String> |
getLabels() |
com.google.common.collect.ImmutableSet<SourcePath> |
getLicenses() |
Optional<Integer> |
getLocalWorkers()
This will be passed to the GWT Compiler's
-localWorkers flag. |
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getModuleDeps() |
com.google.common.collect.ImmutableSortedSet<String> |
getModules() |
String |
getName()
Each rule has a name
|
Optional<Integer> |
getOptimize()
This will be passed to the GWT Compiler's
-optimize flag. |
Optional<Boolean> |
getStrict()
If
true , the GWT Compiler's -strict flag will be set. |
Optional<com.facebook.buck.features.gwt.GwtBinary.Style> |
getStyle()
This will be passed to the GWT Compiler's
-style flag. |
com.google.common.collect.ImmutableList<String> |
getVmArgs()
In practice, these may be values such as
-Xmx512m . |
int |
hashCode()
Computes a hash code from attributes:
modules , moduleDeps , vmArgs , style , draftCompile , optimize , localWorkers , strict , experimentalArgs , compatibleWith , defaultTargetPlatform , labels , licenses , name , deps . |
String |
toString()
Prints the immutable value
GwtBinaryDescriptionArg with attribute values. |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
labelsContainsAnyOf
public com.google.common.collect.ImmutableSortedSet<String> getModules()
modules
attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getModuleDeps()
moduleDeps
attributepublic com.google.common.collect.ImmutableList<String> getVmArgs()
-Xmx512m
.public Optional<com.facebook.buck.features.gwt.GwtBinary.Style> getStyle()
-style
flag.public Optional<Boolean> getDraftCompile()
true
, the GWT Compiler's -draftCompile
flag will be set.public Optional<Integer> getOptimize()
-optimize
flag.public Optional<Integer> getLocalWorkers()
-localWorkers
flag.public Optional<Boolean> getStrict()
true
, the GWT Compiler's -strict
flag will be set.public com.google.common.collect.ImmutableList<String> getExperimentalArgs()
-XenableClosureCompiler
, -XdisableClassMetadata
, -XdisableCastChecking
, or -XfragmentMerge
.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<BuildTarget> getDeps()
deps
attributepublic boolean equals(@Nullable Object another)
GwtBinaryDescriptionArg
that have equal attribute values.public int hashCode()
modules
, moduleDeps
, vmArgs
, style
, draftCompile
, optimize
, localWorkers
, strict
, experimentalArgs
, compatibleWith
, defaultTargetPlatform
, labels
, licenses
, name
, deps
.public String toString()
GwtBinaryDescriptionArg
with attribute values.public static GwtBinaryDescriptionArg.Builder builder()
GwtBinaryDescriptionArg
.