@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class CxxPythonExtensionDescriptionArg extends Object
CxxPythonExtensionDescription.AbstractCxxPythonExtensionDescriptionArg
.
Use the builder to create immutable instances:
CxxPythonExtensionDescriptionArg.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
CxxPythonExtensionDescriptionArg.Builder
Builds instances of type
CxxPythonExtensionDescriptionArg . |
DEFAULT_TARGET_PLATFORM_PARAM_NAME
Modifier and Type | Method and Description |
---|---|
static CxxPythonExtensionDescriptionArg.Builder |
builder()
Creates a builder for
CxxPythonExtensionDescriptionArg . |
boolean |
equals(Object another)
This instance is equal to all instances of
CxxPythonExtensionDescriptionArg that have equal attribute values. |
Optional<String> |
getBaseModule() |
com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> |
getCompatibleWith()
A list of
config_setting a target is compatible with. |
com.google.common.collect.ImmutableList<StringWithMacros> |
getCompilerFlags() |
CxxDeps |
getCxxDeps() |
Optional<Linker.CxxRuntimeType> |
getCxxRuntimeType() |
com.google.common.collect.ImmutableSortedSet<Flavor> |
getDefaultFlavors() |
Optional<Flavor> |
getDefaultPlatform() |
com.google.common.collect.ImmutableMap<String,Flavor> |
getDefaults() |
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<String> |
getExecutableName() |
com.google.common.collect.ImmutableSortedSet<FrameworkPath> |
getFrameworks() |
Optional<String> |
getHeaderNamespace() |
SourceSortedSet |
getHeaders() |
com.google.common.collect.ImmutableSortedSet<String> |
getIncludeDirectories()
A list of include directories to be added to the compile command for compiling this cxx target.
|
com.google.common.collect.ImmutableSortedSet<String> |
getLabels() |
com.google.common.collect.ImmutableMap<CxxSource.Type,com.google.common.collect.ImmutableList<StringWithMacros>> |
getLangCompilerFlags() |
com.google.common.collect.ImmutableMap<CxxSource.Type,PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>>> |
getLangPlatformCompilerFlags() |
com.google.common.collect.ImmutableMap<CxxSource.Type,PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>>> |
getLangPlatformPreprocessorFlags() |
com.google.common.collect.ImmutableMap<CxxSource.Type,com.google.common.collect.ImmutableList<StringWithMacros>> |
getLangPreprocessorFlags() |
com.google.common.collect.ImmutableSortedSet<FrameworkPath> |
getLibraries() |
com.google.common.collect.ImmutableSet<SourcePath> |
getLicenses() |
com.google.common.collect.ImmutableList<String> |
getLinkerExtraOutputs() |
com.google.common.collect.ImmutableList<StringWithMacros> |
getLinkerFlags() |
Optional<String> |
getModuleName() |
String |
getName()
Each rule has a name
|
PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> |
getPlatformCompilerFlags() |
PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<BuildTarget>> |
getPlatformDeps() |
PatternMatchedCollection<SourceSortedSet> |
getPlatformHeaders() |
PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> |
getPlatformLinkerFlags() |
PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> |
getPlatformPreprocessorFlags() |
PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<SourceWithFlags>> |
getPlatformSrcs() |
com.google.common.collect.ImmutableList<StringWithMacros> |
getPostLinkerFlags() |
PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> |
getPostPlatformLinkerFlags() |
Optional<SourcePath> |
getPrecompiledHeader() |
Optional<SourcePath> |
getPrefixHeader() |
com.google.common.collect.ImmutableList<StringWithMacros> |
getPreprocessorFlags() |
CxxDeps |
getPrivateCxxDeps() |
com.google.common.collect.ImmutableSortedSet<SourcePath> |
getRawHeaders()
Raw headers are headers which are used as they are (via compilation flags).
|
com.google.common.collect.ImmutableSortedSet<SourceWithFlags> |
getSrcs() |
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getTests() |
int |
hashCode()
Computes a hash code from attributes:
baseModule , moduleName , compilerFlags , cxxDeps , cxxRuntimeType , defaultFlavors , defaults , executableName , headerNamespace , headers , includeDirectories , langCompilerFlags , langPlatformCompilerFlags , langPlatformPreprocessorFlags , langPreprocessorFlags , linkerExtraOutputs , linkerFlags , platformCompilerFlags , platformDeps , platformHeaders , platformLinkerFlags , platformPreprocessorFlags , platformSrcs , postLinkerFlags , postPlatformLinkerFlags , precompiledHeader , prefixHeader , preprocessorFlags , privateCxxDeps , rawHeaders , srcs , compatibleWith , defaultTargetPlatform , labels , licenses , name , deps , defaultPlatform , tests , frameworks , libraries . |
String |
toString()
Prints the immutable value
CxxPythonExtensionDescriptionArg with attribute values. |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
checkDuplicateSources, checkHeadersUsage
labelsContainsAnyOf
public Optional<String> getBaseModule()
baseModule
attributepublic Optional<String> getModuleName()
moduleName
attributepublic com.google.common.collect.ImmutableList<StringWithMacros> getCompilerFlags()
compilerFlags
attributepublic CxxDeps getCxxDeps()
cxxDeps
attributepublic Optional<Linker.CxxRuntimeType> getCxxRuntimeType()
cxxRuntimeType
attributepublic com.google.common.collect.ImmutableSortedSet<Flavor> getDefaultFlavors()
defaultFlavors
attributepublic com.google.common.collect.ImmutableMap<String,Flavor> getDefaults()
defaults
attributepublic Optional<String> getExecutableName()
executableName
attributepublic Optional<String> getHeaderNamespace()
headerNamespace
attributepublic SourceSortedSet getHeaders()
headers
attributepublic com.google.common.collect.ImmutableSortedSet<String> getIncludeDirectories()
CxxConstructorArg
includeDirectories
attributepublic com.google.common.collect.ImmutableMap<CxxSource.Type,com.google.common.collect.ImmutableList<StringWithMacros>> getLangCompilerFlags()
langCompilerFlags
attributepublic com.google.common.collect.ImmutableMap<CxxSource.Type,PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>>> getLangPlatformCompilerFlags()
langPlatformCompilerFlags
attributepublic com.google.common.collect.ImmutableMap<CxxSource.Type,PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>>> getLangPlatformPreprocessorFlags()
langPlatformPreprocessorFlags
attributepublic com.google.common.collect.ImmutableMap<CxxSource.Type,com.google.common.collect.ImmutableList<StringWithMacros>> getLangPreprocessorFlags()
langPreprocessorFlags
attributepublic com.google.common.collect.ImmutableList<String> getLinkerExtraOutputs()
linkerExtraOutputs
attributepublic com.google.common.collect.ImmutableList<StringWithMacros> getLinkerFlags()
linkerFlags
attributepublic PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> getPlatformCompilerFlags()
platformCompilerFlags
attributepublic PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<BuildTarget>> getPlatformDeps()
platformDeps
attributepublic PatternMatchedCollection<SourceSortedSet> getPlatformHeaders()
platformHeaders
attributepublic PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> getPlatformLinkerFlags()
platformLinkerFlags
attributepublic PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> getPlatformPreprocessorFlags()
platformPreprocessorFlags
attributepublic PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<SourceWithFlags>> getPlatformSrcs()
platformSrcs
attributepublic com.google.common.collect.ImmutableList<StringWithMacros> getPostLinkerFlags()
postLinkerFlags
attributepublic PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> getPostPlatformLinkerFlags()
postPlatformLinkerFlags
attributepublic Optional<SourcePath> getPrecompiledHeader()
precompiledHeader
attributepublic Optional<SourcePath> getPrefixHeader()
prefixHeader
attributepublic com.google.common.collect.ImmutableList<StringWithMacros> getPreprocessorFlags()
preprocessorFlags
attributepublic CxxDeps getPrivateCxxDeps()
privateCxxDeps
attributepublic com.google.common.collect.ImmutableSortedSet<SourcePath> getRawHeaders()
CxxConstructorArg
rawHeaders
attributepublic com.google.common.collect.ImmutableSortedSet<SourceWithFlags> getSrcs()
srcs
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 Optional<Flavor> getDefaultPlatform()
defaultPlatform
attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getTests()
tests
attributepublic com.google.common.collect.ImmutableSortedSet<FrameworkPath> getFrameworks()
frameworks
attributepublic com.google.common.collect.ImmutableSortedSet<FrameworkPath> getLibraries()
libraries
attributepublic boolean equals(@Nullable Object another)
CxxPythonExtensionDescriptionArg
that have equal attribute values.public int hashCode()
baseModule
, moduleName
, compilerFlags
, cxxDeps
, cxxRuntimeType
, defaultFlavors
, defaults
, executableName
, headerNamespace
, headers
, includeDirectories
, langCompilerFlags
, langPlatformCompilerFlags
, langPlatformPreprocessorFlags
, langPreprocessorFlags
, linkerExtraOutputs
, linkerFlags
, platformCompilerFlags
, platformDeps
, platformHeaders
, platformLinkerFlags
, platformPreprocessorFlags
, platformSrcs
, postLinkerFlags
, postPlatformLinkerFlags
, precompiledHeader
, prefixHeader
, preprocessorFlags
, privateCxxDeps
, rawHeaders
, srcs
, compatibleWith
, defaultTargetPlatform
, labels
, licenses
, name
, deps
, defaultPlatform
, tests
, frameworks
, libraries
.public String toString()
CxxPythonExtensionDescriptionArg
with attribute values.public static CxxPythonExtensionDescriptionArg.Builder builder()
CxxPythonExtensionDescriptionArg
.