@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class HaskellGhciDescriptionArg extends Object
HaskellGhciDescription.AbstractHaskellGhciDescriptionArg
.
Use the builder to create immutable instances:
HaskellGhciDescriptionArg.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
HaskellGhciDescriptionArg.Builder
Builds instances of type
HaskellGhciDescriptionArg . |
DEFAULT_TARGET_PLATFORM_PARAM_NAME
Modifier and Type | Method and Description |
---|---|
static HaskellGhciDescriptionArg.Builder |
builder()
Creates a builder for
HaskellGhciDescriptionArg . |
boolean |
equals(Object another)
This instance is equal to all instances of
HaskellGhciDescriptionArg 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.ImmutableList<String> |
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() |
Optional<Query> |
getDepsQuery() |
com.google.common.collect.ImmutableList<SourcePath> |
getExtraScriptTemplates() |
Optional<BuildTarget> |
getGhciBinDep() |
Optional<SourcePath> |
getGhciInit() |
com.google.common.collect.ImmutableSortedSet<String> |
getLabels() |
com.google.common.collect.ImmutableSet<SourcePath> |
getLicenses() |
com.google.common.collect.ImmutableList<StringWithMacros> |
getLinkerFlags() |
String |
getName()
Each rule has a name
|
Optional<Flavor> |
getPlatform() |
PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<BuildTarget>> |
getPlatformDeps() |
PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<BuildTarget>> |
getPlatformPreloadDeps() |
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getPreloadDeps() |
SourceSortedSet |
getSrcs() |
int |
hashCode()
Computes a hash code from attributes:
srcs , compilerFlags , linkerFlags , platformDeps , enableProfiling , ghciBinDep , ghciInit , platform , extraScriptTemplates , preloadDeps , platformPreloadDeps , compatibleWith , defaultTargetPlatform , labels , licenses , name , depsQuery , deps . |
boolean |
isEnableProfiling() |
String |
toString()
Prints the immutable value
HaskellGhciDescriptionArg with attribute values. |
default HaskellGhciDescriptionArg |
withDepsQuery(Query query) |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
labelsContainsAnyOf
public SourceSortedSet getSrcs()
srcs
attributepublic com.google.common.collect.ImmutableList<String> getCompilerFlags()
compilerFlags
attributepublic com.google.common.collect.ImmutableList<StringWithMacros> getLinkerFlags()
linkerFlags
attributepublic PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<BuildTarget>> getPlatformDeps()
platformDeps
attributepublic boolean isEnableProfiling()
enableProfiling
attributepublic Optional<BuildTarget> getGhciBinDep()
ghciBinDep
attributepublic Optional<SourcePath> getGhciInit()
ghciInit
attributepublic com.google.common.collect.ImmutableList<SourcePath> getExtraScriptTemplates()
extraScriptTemplates
attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getPreloadDeps()
preloadDeps
attributepublic PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<BuildTarget>> getPlatformPreloadDeps()
platformPreloadDeps
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)
HaskellGhciDescriptionArg
that have equal attribute values.public int hashCode()
srcs
, compilerFlags
, linkerFlags
, platformDeps
, enableProfiling
, ghciBinDep
, ghciInit
, platform
, extraScriptTemplates
, preloadDeps
, platformPreloadDeps
, compatibleWith
, defaultTargetPlatform
, labels
, licenses
, name
, depsQuery
, deps
.public String toString()
HaskellGhciDescriptionArg
with attribute values.public static HaskellGhciDescriptionArg.Builder builder()
HaskellGhciDescriptionArg
.public HaskellGhciDescriptionArg withDepsQuery(Query query)
withDepsQuery
in interface HasDepsQuery