@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class JavaTestDescriptionArg extends Object
JavaTestDescription.AbstractJavaTestDescriptionArg.
Use the builder to create immutable instances:
JavaTestDescriptionArg.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
JavaTestDescriptionArg.Builder
Builds instances of type
JavaTestDescriptionArg. |
DEFAULT_TARGET_PLATFORM_PARAM_NAME| Modifier and Type | Method and Description |
|---|---|
static JavaTestDescriptionArg.Builder |
builder()
Creates a builder for
JavaTestDescriptionArg. |
boolean |
equals(Object another)
This instance is equal to all instances of
JavaTestDescriptionArg that have equal attribute values. |
Optional<AbiGenerationMode> |
getAbiGenerationMode() |
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getAnnotationProcessorDeps() |
Optional<Boolean> |
getAnnotationProcessorOnly() |
com.google.common.collect.ImmutableList<String> |
getAnnotationProcessorParams() |
com.google.common.collect.ImmutableSet<String> |
getAnnotationProcessors() |
com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> |
getCompatibleWith()
A list of
config_setting a target is compatible with. |
Optional<CompileAgainstLibraryType> |
getCompileAgainst() |
Optional<Either<BuiltInJavac,SourcePath>> |
getCompiler() |
Optional<String> |
getCompilerClassName() |
com.google.common.collect.ImmutableSortedSet<String> |
getContacts() |
com.google.common.collect.ImmutableSet<BuildTarget> |
getCxxLibraryWhitelist() |
Optional<Flavor> |
getDefaultCxxPlatform() |
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.ImmutableMap<String,StringWithMacros> |
getEnv() |
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getExportedDeps() |
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getExportedProvidedDeps() |
com.google.common.collect.ImmutableList<String> |
getExtraArguments() |
ForkMode |
getForkMode() |
Optional<SourcePath> |
getJavac() |
Optional<SourcePath> |
getJavacJar() |
com.google.common.collect.ImmutableList<String> |
getJavaPluginParams() |
Optional<String> |
getJavaVersion() |
com.google.common.collect.ImmutableSortedSet<String> |
getLabels() |
com.google.common.collect.ImmutableSet<SourcePath> |
getLicenses() |
Optional<SourcePath> |
getManifestFile() |
Optional<String> |
getMavenCoords() |
Optional<SourcePath> |
getMavenPomTemplate() |
String |
getName()
Each rule has a name
|
Optional<Boolean> |
getNeverMarkAsUnusedDependency() |
Optional<JavaBuckConfig.UnusedDependenciesAction> |
getOnUnusedDependencies() |
com.google.common.collect.ImmutableList<BuildTarget> |
getPlugins() |
com.google.common.collect.ImmutableList<String> |
getPostprocessClassesCommands() |
Optional<SourcePath> |
getProguardConfig() |
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getProvidedDeps() |
com.google.common.collect.ImmutableSet<Pattern> |
getRemoveClasses() |
boolean |
getRequiredForSourceOnlyAbi() |
com.google.common.collect.ImmutableSortedSet<SourcePath> |
getResources() |
Optional<Path> |
getResourcesRoot() |
Optional<BuildTarget> |
getRunner() |
boolean |
getRunTestSeparately() |
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getRuntimeDeps() |
Optional<String> |
getSource() |
Optional<JavaBuckConfig.SourceAbiVerificationMode> |
getSourceAbiVerificationMode() |
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getSourceOnlyAbiDeps() |
Optional<TestRunnerSpec> |
getSpecs() |
com.google.common.collect.ImmutableSortedSet<SourcePath> |
getSrcs() |
Optional<Level> |
getStdErrLogLevel() |
Optional<Level> |
getStdOutLogLevel() |
Optional<String> |
getTarget() |
Optional<Long> |
getTestCaseTimeoutMs() |
Optional<Long> |
getTestRuleTimeoutMs() |
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getTests() |
Optional<TestType> |
getTestType() |
Optional<SourcePath> |
getUnbundledResourcesRoot() |
Optional<Boolean> |
getUseCxxLibraries() |
com.google.common.collect.ImmutableList<StringWithMacros> |
getVmArgs() |
int |
hashCode()
Computes a hash code from attributes:
vmArgs, testType, runTestSeparately, forkMode, stdErrLogLevel, stdOutLogLevel, useCxxLibraries, cxxLibraryWhitelist, testCaseTimeoutMs, env, defaultCxxPlatform, contacts, testRuleTimeoutMs, resources, proguardConfig, postprocessClassesCommands, resourcesRoot, unbundledResourcesRoot, manifestFile, mavenCoords, mavenPomTemplate, exportedDeps, sourceOnlyAbiDeps, runtimeDeps, source, target, javaVersion, javac, javacJar, compilerClassName, compiler, extraArguments, removeClasses, annotationProcessorDeps, annotationProcessorParams, javaPluginParams, annotationProcessors, annotationProcessorOnly, plugins, abiGenerationMode, compileAgainst, sourceAbiVerificationMode, onUnusedDependencies, neverMarkAsUnusedDependency, licenses, labels, defaultTargetPlatform, compatibleWith, name, requiredForSourceOnlyAbi, deps, providedDeps, exportedProvidedDeps, srcs, tests, runner, specs. |
String |
toString()
Prints the immutable value
JavaTestDescriptionArg with attribute values. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitaddLegacyProcessors, addPlugins, buildJavaAnnotationProcessorParams, buildStandardJavacParams, getJavacSpec, getPluginsOf, hasJavacSpec, isValidJavacJar, verifylabelsContainsAnyOfpublic com.google.common.collect.ImmutableList<StringWithMacros> getVmArgs()
vmArgs attributepublic boolean getRunTestSeparately()
runTestSeparately attributepublic ForkMode getForkMode()
forkMode attributepublic Optional<Level> getStdErrLogLevel()
stdErrLogLevel attributepublic Optional<Level> getStdOutLogLevel()
stdOutLogLevel attributepublic Optional<Boolean> getUseCxxLibraries()
useCxxLibraries attributepublic com.google.common.collect.ImmutableSet<BuildTarget> getCxxLibraryWhitelist()
cxxLibraryWhitelist attributepublic Optional<Long> getTestCaseTimeoutMs()
testCaseTimeoutMs attributepublic com.google.common.collect.ImmutableMap<String,StringWithMacros> getEnv()
env attributepublic Optional<Flavor> getDefaultCxxPlatform()
defaultCxxPlatform attributepublic com.google.common.collect.ImmutableSortedSet<String> getContacts()
contacts attributepublic Optional<Long> getTestRuleTimeoutMs()
testRuleTimeoutMs attributepublic com.google.common.collect.ImmutableSortedSet<SourcePath> getResources()
resources attributepublic Optional<SourcePath> getProguardConfig()
proguardConfig attributepublic com.google.common.collect.ImmutableList<String> getPostprocessClassesCommands()
postprocessClassesCommands attributepublic Optional<Path> getResourcesRoot()
resourcesRoot attributepublic Optional<SourcePath> getUnbundledResourcesRoot()
unbundledResourcesRoot attributepublic Optional<SourcePath> getManifestFile()
manifestFile attributepublic Optional<String> getMavenCoords()
mavenCoords attributepublic Optional<SourcePath> getMavenPomTemplate()
mavenPomTemplate attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getExportedDeps()
exportedDeps attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getSourceOnlyAbiDeps()
sourceOnlyAbiDeps attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getRuntimeDeps()
runtimeDeps attributepublic Optional<String> getJavaVersion()
javaVersion attributepublic Optional<SourcePath> getJavac()
javac attributepublic Optional<SourcePath> getJavacJar()
javacJar attributepublic Optional<String> getCompilerClassName()
compilerClassName attributepublic Optional<Either<BuiltInJavac,SourcePath>> getCompiler()
compiler attributepublic com.google.common.collect.ImmutableList<String> getExtraArguments()
extraArguments attributepublic com.google.common.collect.ImmutableSet<Pattern> getRemoveClasses()
removeClasses attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getAnnotationProcessorDeps()
annotationProcessorDeps attributepublic com.google.common.collect.ImmutableList<String> getAnnotationProcessorParams()
annotationProcessorParams attributepublic com.google.common.collect.ImmutableList<String> getJavaPluginParams()
javaPluginParams attributepublic com.google.common.collect.ImmutableSet<String> getAnnotationProcessors()
annotationProcessors attributepublic Optional<Boolean> getAnnotationProcessorOnly()
annotationProcessorOnly attributepublic com.google.common.collect.ImmutableList<BuildTarget> getPlugins()
plugins attributepublic Optional<AbiGenerationMode> getAbiGenerationMode()
abiGenerationMode attributepublic Optional<CompileAgainstLibraryType> getCompileAgainst()
compileAgainst attributepublic Optional<JavaBuckConfig.SourceAbiVerificationMode> getSourceAbiVerificationMode()
sourceAbiVerificationMode attributepublic Optional<JavaBuckConfig.UnusedDependenciesAction> getOnUnusedDependencies()
onUnusedDependencies attributepublic Optional<Boolean> getNeverMarkAsUnusedDependency()
neverMarkAsUnusedDependency attributepublic 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 boolean getRequiredForSourceOnlyAbi()
requiredForSourceOnlyAbi attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getDeps()
deps attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getProvidedDeps()
providedDeps attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getExportedProvidedDeps()
exportedProvidedDeps attributepublic com.google.common.collect.ImmutableSortedSet<SourcePath> getSrcs()
srcs attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getTests()
public Optional<BuildTarget> getRunner()
public Optional<TestRunnerSpec> getSpecs()
public boolean equals(@Nullable Object another)
JavaTestDescriptionArg that have equal attribute values.public int hashCode()
vmArgs, testType, runTestSeparately, forkMode, stdErrLogLevel, stdOutLogLevel, useCxxLibraries, cxxLibraryWhitelist, testCaseTimeoutMs, env, defaultCxxPlatform, contacts, testRuleTimeoutMs, resources, proguardConfig, postprocessClassesCommands, resourcesRoot, unbundledResourcesRoot, manifestFile, mavenCoords, mavenPomTemplate, exportedDeps, sourceOnlyAbiDeps, runtimeDeps, source, target, javaVersion, javac, javacJar, compilerClassName, compiler, extraArguments, removeClasses, annotationProcessorDeps, annotationProcessorParams, javaPluginParams, annotationProcessors, annotationProcessorOnly, plugins, abiGenerationMode, compileAgainst, sourceAbiVerificationMode, onUnusedDependencies, neverMarkAsUnusedDependency, licenses, labels, defaultTargetPlatform, compatibleWith, name, requiredForSourceOnlyAbi, deps, providedDeps, exportedProvidedDeps, srcs, tests, runner, specs.public String toString()
JavaTestDescriptionArg with attribute values.public static JavaTestDescriptionArg.Builder builder()
JavaTestDescriptionArg.