@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class PrebuiltOcamlLibraryDescriptionArg extends Object
PrebuiltOcamlLibraryDescription.AbstractPrebuiltOcamlLibraryDescriptionArg
.
Use the builder to create immutable instances:
PrebuiltOcamlLibraryDescriptionArg.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
PrebuiltOcamlLibraryDescriptionArg.Builder
Builds instances of type
PrebuiltOcamlLibraryDescriptionArg . |
DEFAULT_TARGET_PLATFORM_PARAM_NAME
Modifier and Type | Method and Description |
---|---|
static PrebuiltOcamlLibraryDescriptionArg.Builder |
builder()
Creates a builder for
PrebuiltOcamlLibraryDescriptionArg . |
boolean |
equals(Object another)
This instance is equal to all instances of
PrebuiltOcamlLibraryDescriptionArg that have equal attribute values. |
com.google.common.collect.ImmutableList<String> |
getBytecodeCLibs() |
String |
getBytecodeLib() |
boolean |
getBytecodeOnly() |
com.google.common.collect.ImmutableList<String> |
getCLibs() |
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() |
String |
getIncludeDir() |
com.google.common.collect.ImmutableSortedSet<String> |
getLabels() |
String |
getLibDir() |
String |
getLibName() |
com.google.common.collect.ImmutableSet<SourcePath> |
getLicenses() |
String |
getName()
Each rule has a name
|
com.google.common.collect.ImmutableList<String> |
getNativeCLibs() |
String |
getNativeLib() |
PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<BuildTarget>> |
getPlatformDeps() |
int |
hashCode()
Computes a hash code from attributes:
libDir , includeDir , libName , nativeLib , bytecodeLib , cLibs , nativeCLibs , bytecodeCLibs , bytecodeOnly , platformDeps , compatibleWith , defaultTargetPlatform , labels , licenses , name , deps . |
String |
toString()
Prints the immutable value
PrebuiltOcamlLibraryDescriptionArg with attribute values. |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
labelsContainsAnyOf
public String getLibDir()
libDir
attributepublic String getIncludeDir()
includeDir
attributepublic String getLibName()
libName
attributepublic String getNativeLib()
nativeLib
attributepublic String getBytecodeLib()
bytecodeLib
attributepublic com.google.common.collect.ImmutableList<String> getCLibs()
cLibs
attributepublic com.google.common.collect.ImmutableList<String> getNativeCLibs()
nativeCLibs
attributepublic com.google.common.collect.ImmutableList<String> getBytecodeCLibs()
bytecodeCLibs
attributepublic 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)
PrebuiltOcamlLibraryDescriptionArg
that have equal attribute values.public int hashCode()
libDir
, includeDir
, libName
, nativeLib
, bytecodeLib
, cLibs
, nativeCLibs
, bytecodeCLibs
, bytecodeOnly
, platformDeps
, compatibleWith
, defaultTargetPlatform
, labels
, licenses
, name
, deps
.public String toString()
PrebuiltOcamlLibraryDescriptionArg
with attribute values.public static PrebuiltOcamlLibraryDescriptionArg.Builder builder()
PrebuiltOcamlLibraryDescriptionArg
.