@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class HaskellPrebuiltLibraryDescriptionArg extends Object
HaskellPrebuiltLibraryDescription.AbstractHaskellPrebuiltLibraryDescriptionArg
.
Use the builder to create immutable instances:
HaskellPrebuiltLibraryDescriptionArg.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
HaskellPrebuiltLibraryDescriptionArg.Builder
Builds instances of type
HaskellPrebuiltLibraryDescriptionArg . |
DEFAULT_TARGET_PLATFORM_PARAM_NAME
Modifier and Type | Method and Description |
---|---|
static HaskellPrebuiltLibraryDescriptionArg.Builder |
builder()
Creates a builder for
HaskellPrebuiltLibraryDescriptionArg . |
boolean |
equals(Object another)
This instance is equal to all instances of
HaskellPrebuiltLibraryDescriptionArg that have equal attribute values. |
com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> |
getCompatibleWith()
A list of
config_setting a target is compatible with. |
com.google.common.collect.ImmutableSortedSet<SourcePath> |
getCxxHeaderDirs() |
SourcePath |
getDb() |
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.ImmutableList<String> |
getExportedCompilerFlags() |
com.google.common.collect.ImmutableList<String> |
getExportedLinkerFlags() |
String |
getId() |
com.google.common.collect.ImmutableList<SourcePath> |
getImportDirs() |
com.google.common.collect.ImmutableSortedSet<String> |
getLabels() |
com.google.common.collect.ImmutableSet<SourcePath> |
getLicenses() |
String |
getName()
Each rule has a name
|
com.google.common.collect.ImmutableList<SourcePath> |
getProfiledStaticLibs() |
com.google.common.collect.ImmutableMap<String,SourcePath> |
getSharedLibs() |
com.google.common.collect.ImmutableList<SourcePath> |
getStaticLibs() |
String |
getVersion() |
int |
hashCode()
Computes a hash code from attributes:
version , id , db , importDirs , staticLibs , profiledStaticLibs , sharedLibs , exportedLinkerFlags , exportedCompilerFlags , cxxHeaderDirs , enableProfiling , compatibleWith , defaultTargetPlatform , labels , licenses , name , deps . |
boolean |
isEnableProfiling() |
String |
toString()
Prints the immutable value
HaskellPrebuiltLibraryDescriptionArg with attribute values. |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
labelsContainsAnyOf
public String getVersion()
version
attributepublic String getId()
id
attributepublic SourcePath getDb()
db
attributepublic com.google.common.collect.ImmutableList<SourcePath> getImportDirs()
importDirs
attributepublic com.google.common.collect.ImmutableList<SourcePath> getStaticLibs()
staticLibs
attributepublic com.google.common.collect.ImmutableList<SourcePath> getProfiledStaticLibs()
profiledStaticLibs
attributepublic com.google.common.collect.ImmutableMap<String,SourcePath> getSharedLibs()
sharedLibs
attributepublic com.google.common.collect.ImmutableList<String> getExportedLinkerFlags()
exportedLinkerFlags
attributepublic com.google.common.collect.ImmutableList<String> getExportedCompilerFlags()
exportedCompilerFlags
attributepublic com.google.common.collect.ImmutableSortedSet<SourcePath> getCxxHeaderDirs()
cxxHeaderDirs
attributepublic boolean isEnableProfiling()
enableProfiling
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)
HaskellPrebuiltLibraryDescriptionArg
that have equal attribute values.public int hashCode()
version
, id
, db
, importDirs
, staticLibs
, profiledStaticLibs
, sharedLibs
, exportedLinkerFlags
, exportedCompilerFlags
, cxxHeaderDirs
, enableProfiling
, compatibleWith
, defaultTargetPlatform
, labels
, licenses
, name
, deps
.public String toString()
HaskellPrebuiltLibraryDescriptionArg
with attribute values.public static HaskellPrebuiltLibraryDescriptionArg.Builder builder()
HaskellPrebuiltLibraryDescriptionArg
.