@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class CxxTestDescriptionArg extends Object
CxxTestDescription.AbstractCxxTestDescriptionArg
.
Use the builder to create immutable instances:
CxxTestDescriptionArg.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
CxxTestDescriptionArg.Builder
Builds instances of type
CxxTestDescriptionArg . |
DEFAULT_TARGET_PLATFORM_PARAM_NAME
Modifier and Type | Method and Description |
---|---|
static CxxTestDescriptionArg.Builder |
builder()
Creates a builder for
CxxTestDescriptionArg . |
boolean |
equals(Object another)
This instance is equal to all instances of
CxxTestDescriptionArg that have equal attribute values. |
com.google.common.collect.ImmutableSet<SourcePath> |
getAdditionalCoverageTargets() |
com.google.common.collect.ImmutableList<StringWithMacros> |
getArgs() |
com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> |
getCompatibleWith()
A list of
config_setting a target is compatible with. |
com.google.common.collect.ImmutableList<StringWithMacros> |
getCompilerFlags() |
com.google.common.collect.ImmutableSortedSet<String> |
getContacts() |
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<Query> |
getDepsQuery() |
com.google.common.collect.ImmutableMap<String,StringWithMacros> |
getEnv() |
Optional<String> |
getExecutableName() |
boolean |
getFatLto() |
Optional<com.facebook.buck.cxx.CxxTestType> |
getFramework() |
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() |
boolean |
getLinkDepsQueryWhole() |
com.google.common.collect.ImmutableList<String> |
getLinkerExtraOutputs() |
com.google.common.collect.ImmutableList<StringWithMacros> |
getLinkerFlags() |
Optional<String> |
getLinkGroup()
Defines the link group.
|
Optional<com.google.common.collect.ImmutableList<CxxLinkGroupMapping>> |
getLinkGroupMap()
Defines the list of link group mappings.
|
Optional<Linker.LinkableDepType> |
getLinkStyle() |
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<Path> |
getResources() |
Optional<Boolean> |
getRunTestSeparately() |
com.google.common.collect.ImmutableSortedSet<SourceWithFlags> |
getSrcs() |
Optional<Long> |
getTestRuleTimeoutMs() |
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getTests() |
boolean |
getThinLto() |
Optional<Boolean> |
getUseDefaultTestMain() |
Optional<String> |
getVersionUniverse() |
int |
hashCode()
Computes a hash code from attributes:
framework , env , args , runTestSeparately , useDefaultTestMain , resources , additionalCoverageTargets , linkDepsQueryWhole , linkStyle , linkGroupMap , linkGroup , thinLto , fatLto , srcs , platformSrcs , headers , rawHeaders , includeDirectories , platformHeaders , prefixHeader , precompiledHeader , compilerFlags , langCompilerFlags , langPlatformCompilerFlags , platformCompilerFlags , preprocessorFlags , platformPreprocessorFlags , langPreprocessorFlags , langPlatformPreprocessorFlags , linkerFlags , postLinkerFlags , linkerExtraOutputs , platformLinkerFlags , executableName , postPlatformLinkerFlags , platformDeps , headerNamespace , cxxRuntimeType , defaults , defaultFlavors , cxxDeps , privateCxxDeps , licenses , labels , defaultTargetPlatform , compatibleWith , name , deps , defaultPlatform , tests , frameworks , libraries , versionUniverse , depsQuery , contacts , testRuleTimeoutMs . |
String |
toString()
Prints the immutable value
CxxTestDescriptionArg with attribute values. |
default CxxTestDescriptionArg |
withDepsQuery(Query query) |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
checkDuplicateSources, checkHeadersUsage
labelsContainsAnyOf
public Optional<com.facebook.buck.cxx.CxxTestType> getFramework()
framework
attributepublic com.google.common.collect.ImmutableMap<String,StringWithMacros> getEnv()
env
attributepublic com.google.common.collect.ImmutableList<StringWithMacros> getArgs()
args
attributepublic Optional<Boolean> getRunTestSeparately()
runTestSeparately
attributepublic Optional<Boolean> getUseDefaultTestMain()
useDefaultTestMain
attributepublic com.google.common.collect.ImmutableSortedSet<Path> getResources()
resources
attributepublic com.google.common.collect.ImmutableSet<SourcePath> getAdditionalCoverageTargets()
additionalCoverageTargets
attributepublic boolean getLinkDepsQueryWhole()
linkDepsQueryWhole
attributepublic Optional<Linker.LinkableDepType> getLinkStyle()
linkStyle
attributepublic Optional<com.google.common.collect.ImmutableList<CxxLinkGroupMapping>> getLinkGroupMap()
public Optional<String> getLinkGroup()
public boolean getThinLto()
thinLto
attributepublic boolean getFatLto()
fatLto
attributepublic com.google.common.collect.ImmutableSortedSet<SourceWithFlags> getSrcs()
srcs
attributepublic PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<SourceWithFlags>> getPlatformSrcs()
platformSrcs
attributepublic SourceSortedSet getHeaders()
headers
attributepublic com.google.common.collect.ImmutableSortedSet<SourcePath> getRawHeaders()
public com.google.common.collect.ImmutableSortedSet<String> getIncludeDirectories()
public PatternMatchedCollection<SourceSortedSet> getPlatformHeaders()
platformHeaders
attributepublic Optional<SourcePath> getPrefixHeader()
prefixHeader
attributepublic Optional<SourcePath> getPrecompiledHeader()
precompiledHeader
attributepublic com.google.common.collect.ImmutableList<StringWithMacros> getCompilerFlags()
compilerFlags
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 PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> getPlatformCompilerFlags()
platformCompilerFlags
attributepublic com.google.common.collect.ImmutableList<StringWithMacros> getPreprocessorFlags()
preprocessorFlags
attributepublic PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> getPlatformPreprocessorFlags()
platformPreprocessorFlags
attributepublic com.google.common.collect.ImmutableMap<CxxSource.Type,com.google.common.collect.ImmutableList<StringWithMacros>> getLangPreprocessorFlags()
langPreprocessorFlags
attributepublic com.google.common.collect.ImmutableMap<CxxSource.Type,PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>>> getLangPlatformPreprocessorFlags()
langPlatformPreprocessorFlags
attributepublic com.google.common.collect.ImmutableList<StringWithMacros> getLinkerFlags()
linkerFlags
attributepublic com.google.common.collect.ImmutableList<StringWithMacros> getPostLinkerFlags()
postLinkerFlags
attributepublic com.google.common.collect.ImmutableList<String> getLinkerExtraOutputs()
linkerExtraOutputs
attributepublic PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> getPlatformLinkerFlags()
platformLinkerFlags
attributepublic Optional<String> getExecutableName()
executableName
attributepublic PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> getPostPlatformLinkerFlags()
postPlatformLinkerFlags
attributepublic PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<BuildTarget>> getPlatformDeps()
platformDeps
attributepublic Optional<String> getHeaderNamespace()
headerNamespace
attributepublic Optional<Linker.CxxRuntimeType> getCxxRuntimeType()
cxxRuntimeType
attributepublic com.google.common.collect.ImmutableMap<String,Flavor> getDefaults()
defaults
attributepublic com.google.common.collect.ImmutableSortedSet<Flavor> getDefaultFlavors()
defaultFlavors
attributepublic CxxDeps getCxxDeps()
public CxxDeps getPrivateCxxDeps()
public com.google.common.collect.ImmutableSet<SourcePath> getLicenses()
licenses
attributepublic com.google.common.collect.ImmutableSortedSet<String> getLabels()
labels
attributepublic Optional<UnconfiguredBuildTarget> getDefaultTargetPlatform()
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.
public com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> getCompatibleWith()
config_setting
a target is compatible with.public String getName()
public com.google.common.collect.ImmutableSortedSet<BuildTarget> getDeps()
deps
attributepublic Optional<Flavor> getDefaultPlatform()
public com.google.common.collect.ImmutableSortedSet<BuildTarget> getTests()
public com.google.common.collect.ImmutableSortedSet<FrameworkPath> getFrameworks()
frameworks
attributepublic com.google.common.collect.ImmutableSortedSet<FrameworkPath> getLibraries()
libraries
attributepublic Optional<String> getVersionUniverse()
versionUniverse
attributepublic com.google.common.collect.ImmutableSortedSet<String> getContacts()
contacts
attributepublic Optional<Long> getTestRuleTimeoutMs()
testRuleTimeoutMs
attributepublic boolean equals(@Nullable Object another)
CxxTestDescriptionArg
that have equal attribute values.public int hashCode()
framework
, env
, args
, runTestSeparately
, useDefaultTestMain
, resources
, additionalCoverageTargets
, linkDepsQueryWhole
, linkStyle
, linkGroupMap
, linkGroup
, thinLto
, fatLto
, srcs
, platformSrcs
, headers
, rawHeaders
, includeDirectories
, platformHeaders
, prefixHeader
, precompiledHeader
, compilerFlags
, langCompilerFlags
, langPlatformCompilerFlags
, platformCompilerFlags
, preprocessorFlags
, platformPreprocessorFlags
, langPreprocessorFlags
, langPlatformPreprocessorFlags
, linkerFlags
, postLinkerFlags
, linkerExtraOutputs
, platformLinkerFlags
, executableName
, postPlatformLinkerFlags
, platformDeps
, headerNamespace
, cxxRuntimeType
, defaults
, defaultFlavors
, cxxDeps
, privateCxxDeps
, licenses
, labels
, defaultTargetPlatform
, compatibleWith
, name
, deps
, defaultPlatform
, tests
, frameworks
, libraries
, versionUniverse
, depsQuery
, contacts
, testRuleTimeoutMs
.public String toString()
CxxTestDescriptionArg
with attribute values.public static CxxTestDescriptionArg.Builder builder()
CxxTestDescriptionArg
.public CxxTestDescriptionArg withDepsQuery(Query query)
withDepsQuery
in interface HasDepsQuery