@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class JavaLibraryDescriptionArg extends Object
JavaLibraryDescription.AbstractJavaLibraryDescriptionArg
.
Use the builder to create immutable instances:
JavaLibraryDescriptionArg.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
JavaLibraryDescriptionArg.Builder
Builds instances of type
JavaLibraryDescriptionArg . |
DEFAULT_TARGET_PLATFORM_PARAM_NAME
Modifier and Type | Method and Description |
---|---|
static JavaLibraryDescriptionArg.Builder |
builder()
Creates a builder for
JavaLibraryDescriptionArg . |
boolean |
equals(Object another)
This instance is equal to all instances of
JavaLibraryDescriptionArg 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() |
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.ImmutableSortedSet<BuildTarget> |
getExportedDeps() |
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getExportedProvidedDeps() |
com.google.common.collect.ImmutableList<String> |
getExtraArguments() |
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() |
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getRuntimeDeps() |
Optional<String> |
getSource() |
Optional<JavaBuckConfig.SourceAbiVerificationMode> |
getSourceAbiVerificationMode() |
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getSourceOnlyAbiDeps() |
com.google.common.collect.ImmutableSortedSet<SourcePath> |
getSrcs() |
Optional<String> |
getTarget() |
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getTests() |
Optional<SourcePath> |
getUnbundledResourcesRoot() |
int |
hashCode()
Computes a hash code from attributes:
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 . |
String |
toString()
Prints the immutable value
JavaLibraryDescriptionArg with attribute values. |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addLegacyProcessors, addPlugins, buildJavaAnnotationProcessorParams, buildStandardJavacParams, getJavacSpec, getPluginsOf, hasJavacSpec, isValidJavacJar, verify
labelsContainsAnyOf
public 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 boolean equals(@Nullable Object another)
JavaLibraryDescriptionArg
that have equal attribute values.public int hashCode()
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
.public String toString()
JavaLibraryDescriptionArg
with attribute values.public static JavaLibraryDescriptionArg.Builder builder()
JavaLibraryDescriptionArg
.