Uses of Annotation Interface
org.apache.maven.api.annotations.Nullable
Packages that use Nullable
Package
Description
Maven Core API
Maven immutable XML api.
-
Uses of Nullable in org.apache.maven.api
Methods in org.apache.maven.api with annotations of type NullableModifier and TypeMethodDescription<T> T
SessionData.computeIfAbsent
(SessionData.Key<T> key, Supplier<T> supplier) Retrieve of compute the data associated with the specified key.<T> T
SessionData.get
(SessionData.Key<T> key) Gets the session data associated with the specified key.Node.getArtifact()
Exclusion.getArtifactId()
Type.getClassifier()
Get the default classifier associated to the dependency type.Node.getDependency()
Exclusion.getGroupId()
VersionRange.getLowerBoundary()
Returns the lower boundary of this range, ornull
if none.DependencyCoordinates.getOptional()
Returns whether the dependency is optional, mandatory or of unspecified obligation.VersionConstraint.getRecommendedVersion()
Returns the recommended version of this constraint, ornull
if none.VersionRange.getUpperBoundary()
Returns the upper boundary of this range, ornull
if none.VersionConstraint.getVersionRange()
Returns the range of this constraint, ornull
if none.Method parameters in org.apache.maven.api with annotations of type NullableModifier and TypeMethodDescriptionSession.getEffectiveProperties
(Project project) Each invocation computes a new map of effective properties.<T> boolean
SessionData.replace
(SessionData.Key<T> key, T oldValue, T newValue) Associates the specified session data with the given key if the key is currently mapped to the given value.<T> boolean
SessionData.replace
(SessionData.Key<T> key, T oldValue, T newValue) Associates the specified session data with the given key if the key is currently mapped to the given value.<T> void
SessionData.set
(SessionData.Key<T> key, T value) Associates the specified session data with the given key. -
Uses of Nullable in org.apache.maven.api.feature
Method parameters in org.apache.maven.api.feature with annotations of type NullableModifier and TypeMethodDescriptionstatic boolean
Features.buildConsumer
(Map<String, String> userProperties) Check if the build/consumer POM feature is active.static boolean
Features.buildConsumer
(Properties userProperties) Check if the build/consumer POM feature is active.static boolean
Features.buildConsumer
(Session session) Check if the build/consumer POM feature is active. -
Uses of Nullable in org.apache.maven.api.services
Methods in org.apache.maven.api.services with annotations of type NullableModifier and TypeMethodDescriptionBuilderProblem.getException()
Gets the exception that caused this problem (if any).ModelBuilderRequest.getInterimResult()
ModelBuilderRequest.getListener()
ModelBuilderRequest.getModelCache()
Source.getPath()
Provides access the file to be parsed, if this source is backed by a file.DependencyResolverRequest.getPathScope()
DependencyResolverRequest.getPathTypeFilter()
Returns a filter for the types of path (class-path, module-path, …) accepted by the tool.DependencyResolverResult.getRoot()
Gets the root node of the dependency graph.ModelBuilderRequest.getTransformerContextBuilder()
ModelSource.ModelLocator.locateExistingPom
(Path project) Returns the file containing the pom or null if a pom can not be found at the given file or in the given directory.ModelSource.resolve
(ModelSource.ModelLocator modelLocator, String relative) Returns a new source identified by a relative path.Method parameters in org.apache.maven.api.services with annotations of type NullableModifier and TypeMethodDescriptionArtifactInstallerRequest.ArtifactInstallerRequestBuilder.artifacts
(Collection<Artifact> artifacts) static SettingsBuilderRequest
SettingsBuilderRequest.build
(Session session, Path installationSettingsPath, Path projectSettingsPath, Path userSettingsPath) static SettingsBuilderRequest
SettingsBuilderRequest.build
(Session session, Path installationSettingsPath, Path projectSettingsPath, Path userSettingsPath) static SettingsBuilderRequest
SettingsBuilderRequest.build
(Session session, Path installationSettingsPath, Path projectSettingsPath, Path userSettingsPath) static SettingsBuilderRequest
SettingsBuilderRequest.build
(Session session, Source installationSettingsSource, Source projectSettingsSource, Source userSettingsSource) static SettingsBuilderRequest
SettingsBuilderRequest.build
(Session session, Source installationSettingsSource, Source projectSettingsSource, Source userSettingsSource) static SettingsBuilderRequest
SettingsBuilderRequest.build
(Session session, Source installationSettingsSource, Source projectSettingsSource, Source userSettingsSource) static ToolchainsBuilderRequest
ToolchainsBuilderRequest.build
(Session session, Path installationToolchainsFile, Path userToolchainsPath) static ToolchainsBuilderRequest
ToolchainsBuilderRequest.build
(Session session, Path installationToolchainsFile, Path userToolchainsPath) static ToolchainsBuilderRequest
ToolchainsBuilderRequest.build
(Session session, Source installationToolchainsFile, Source userToolchainsSource) static ToolchainsBuilderRequest
ToolchainsBuilderRequest.build
(Session session, Source installationToolchainsFile, Source userToolchainsSource) DependencyResolverRequest.DependencyResolverRequestBuilder.dependencies
(List<DependencyCoordinates> dependencies) Sets the direct dependencies.DependencyResolverRequest.DependencyResolverRequestBuilder.dependency
(DependencyCoordinates dependency) Adds the specified direct dependency.static ModelSource
DependencyResolverRequest.DependencyResolverRequestBuilder.managedDependencies
(List<DependencyCoordinates> managedDependencies) Sets the dependency management to apply to transitive dependencies.DependencyResolverRequest.DependencyResolverRequestBuilder.managedDependency
(DependencyCoordinates managedDependency) Adds the specified managed dependency.default String
Prompts the user for a string.default String
Prompts the user for a string using a default value.default String
Prompts the user for a string using a default value.default String
Prompts the user for a string using a list of possible values.default String
Prompts the user for a string using a list of possible values.Prompts the user for a string using a list of possible values and a default reply.Prompts the user for a string using a list of possible values and a default reply.Prompts the user for a string using a list of possible values and a default reply.Prompter.promptForPassword
(String message) Prompts the user for a password.DependencyResolverRequest.DependencyResolverRequestBuilder.rootArtifact
(Artifact rootArtifact) Sets the root artifact for the dependency graph.void
ProjectManager.setProperty
(Project project, String key, String value) Set a given project property.void
Prompter.showMessage
(String message) Displays a message to the user. -
Uses of Nullable in org.apache.maven.api.services.xml
Methods in org.apache.maven.api.services.xml with annotations of type NullableModifier and TypeMethodDescriptionXmlWriterRequest.getInputLocationFormatter()
XmlReaderRequest.getInputStream()
XmlReaderRequest.getLocation()
XmlReaderRequest.getModelId()
XmlWriterRequest.getOutputStream()
XmlReaderRequest.getPath()
XmlWriterRequest.getPath()
XmlReaderRequest.getReader()
XmlReaderRequest.getRootDirectory()
XmlReaderRequest.getTransformer()
XmlReaderRequest.getURL()
XmlWriterRequest.getWriter()
-
Uses of Nullable in org.apache.maven.api.spi
Method parameters in org.apache.maven.api.spi with annotations of type NullableModifier and TypeMethodDescriptionModelParser.locateAndParse
(Path dir, Map<String, ?> options) Locate and parse the model in the specified directory.Parse the model obtained previously by a previous call toModelParser.locate(Path)
. -
Uses of Nullable in org.apache.maven.api.xml
Methods in org.apache.maven.api.xml with annotations of type NullableModifier and TypeMethodDescriptionXmlNode.getAttribute
(String name) XmlNode.getInputLocation()
XmlNode.getValue()
static XmlNode
Merge recessive into dominant and return eitherdominant
with merged information or a clone ofrecessive
ifdominant
isnull
.static XmlNode
Method parameters in org.apache.maven.api.xml with annotations of type NullableModifier and TypeMethodDescriptiondefault XmlNode
static XmlNode
Merge recessive into dominant and return eitherdominant
with merged information or a clone ofrecessive
ifdominant
isnull
.static XmlNode
Merge recessive into dominant and return eitherdominant
with merged information or a clone ofrecessive
ifdominant
isnull
.static XmlNode
static XmlNode
static XmlNode