@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class OcamlBinaryDescriptionArg extends Object
OcamlBinaryDescription.AbstractOcamlBinaryDescriptionArg
.
Use the builder to create immutable instances:
OcamlBinaryDescriptionArg.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
OcamlBinaryDescriptionArg.Builder
Builds instances of type
OcamlBinaryDescriptionArg . |
DEFAULT_TARGET_PLATFORM_PARAM_NAME
Modifier and Type | Method and Description |
---|---|
static OcamlBinaryDescriptionArg.Builder |
builder()
Creates a builder for
OcamlBinaryDescriptionArg . |
boolean |
equals(Object another)
This instance is equal to all instances of
OcamlBinaryDescriptionArg that have equal attribute values. |
Optional<Boolean> |
getBytecodeOnly() |
com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> |
getCompatibleWith()
A list of
config_setting a target is compatible with. |
com.google.common.collect.ImmutableList<StringWithMacros> |
getCompilerFlags() |
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() |
com.google.common.collect.ImmutableSortedSet<String> |
getLabels() |
com.google.common.collect.ImmutableSet<SourcePath> |
getLicenses() |
com.google.common.collect.ImmutableList<String> |
getLinkerFlags() |
String |
getName()
Each rule has a name
|
com.google.common.collect.ImmutableList<String> |
getOcamldepFlags() |
Optional<Flavor> |
getPlatform() |
PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<BuildTarget>> |
getPlatformDeps() |
Optional<SourceSet> |
getSrcs() |
Optional<String> |
getWarningsFlags() |
int |
hashCode()
Computes a hash code from attributes:
srcs , compilerFlags , linkerFlags , ocamldepFlags , warningsFlags , bytecodeOnly , platform , platformDeps , compatibleWith , defaultTargetPlatform , labels , licenses , name , deps . |
String |
toString()
Prints the immutable value
OcamlBinaryDescriptionArg with attribute values. |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
labelsContainsAnyOf
public com.google.common.collect.ImmutableList<StringWithMacros> getCompilerFlags()
compilerFlags
attributepublic com.google.common.collect.ImmutableList<String> getLinkerFlags()
linkerFlags
attributepublic com.google.common.collect.ImmutableList<String> getOcamldepFlags()
ocamldepFlags
attributepublic Optional<String> getWarningsFlags()
warningsFlags
attributepublic Optional<Boolean> getBytecodeOnly()
bytecodeOnly
attributepublic PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<BuildTarget>> getPlatformDeps()
platformDeps
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 com.google.common.collect.ImmutableSortedSet<BuildTarget> getDeps()
deps
attributepublic boolean equals(@Nullable Object another)
OcamlBinaryDescriptionArg
that have equal attribute values.public int hashCode()
srcs
, compilerFlags
, linkerFlags
, ocamldepFlags
, warningsFlags
, bytecodeOnly
, platform
, platformDeps
, compatibleWith
, defaultTargetPlatform
, labels
, licenses
, name
, deps
.public String toString()
OcamlBinaryDescriptionArg
with attribute values.public static OcamlBinaryDescriptionArg.Builder builder()
OcamlBinaryDescriptionArg
.