Uses of Interface
org.apache.maven.api.PathType
Packages that use PathType
Package
Description
Maven Core API
-
Uses of PathType in org.apache.maven.api
Classes in org.apache.maven.api that implement PathTypeModifier and TypeClassDescriptionenum
The option of a Java command-line tool where to place the paths to some dependencies.final class
Type of path which is applied to only one specific Java module.Fields in org.apache.maven.api declared as PathTypeModifier and TypeFieldDescriptionstatic final PathType
PathType.UNRESOLVED
The type for all paths that could not be placed in any of the types requested by a caller.Methods in org.apache.maven.api that return types with arguments of type PathTypeModifier and TypeMethodDescriptionType.getPathTypes()
Types of path (class-path, module-path, …) where the dependency can be placed.Session.resolveDependencies
(DependencyCoordinates dependencyCoordinates, PathScope scope, Collection<PathType> desiredTypes) Shortcut forgetService(DependencyResolver.class).resolve(...).getDispatchedPaths()
.Session.resolveDependencies
(Project project, PathScope scope, Collection<PathType> desiredTypes) Shortcut forgetService(DependencyResolver.class).resolve(...).getDispatchedPaths()
.Method parameters in org.apache.maven.api with type arguments of type PathTypeModifier and TypeMethodDescriptionSession.resolveDependencies
(DependencyCoordinates dependencyCoordinates, PathScope scope, Collection<PathType> desiredTypes) Shortcut forgetService(DependencyResolver.class).resolve(...).getDispatchedPaths()
.Session.resolveDependencies
(Project project, PathScope scope, Collection<PathType> desiredTypes) Shortcut forgetService(DependencyResolver.class).resolve(...).getDispatchedPaths()
. -
Uses of PathType in org.apache.maven.api.services
Fields in org.apache.maven.api.services with type parameters of type PathTypeModifier and TypeFieldDescriptionDependencyResolverRequest.DependencyResolverRequestBuilder.DefaultDependencyResolverRequest.pathTypeFilter
DependencyResolverRequest.DependencyResolverRequestBuilder.pathTypeFilter
Methods in org.apache.maven.api.services that return types with arguments of type PathTypeModifier and TypeMethodDescriptionDependencyResolverResult.getDispatchedPaths()
Returns the file paths of all dependencies, dispatched according the tool options where to place them.DependencyResolverRequest.DependencyResolverRequestBuilder.DefaultDependencyResolverRequest.getPathTypeFilter()
DependencyResolverRequest.getPathTypeFilter()
Returns a filter for the types of path (class-path, module-path, …) accepted by the tool.Method parameters in org.apache.maven.api.services with type arguments of type PathTypeModifier and TypeMethodDescriptionDependencyResolverRequest.DependencyResolverRequestBuilder.pathTypeFilter
(Collection<? extends PathType> desiredTypes) Specifies the type of paths to include in the result.DependencyResolverRequest.DependencyResolverRequestBuilder.pathTypeFilter
(Predicate<PathType> pathTypeFilter) Filters the types of paths to include in the result.Constructor parameters in org.apache.maven.api.services with type arguments of type PathTypeModifierConstructorDescription(package private)
DefaultDependencyResolverRequest
(Session session, DependencyResolverRequest.RequestType requestType, Project project, Artifact rootArtifact, DependencyCoordinates root, Collection<DependencyCoordinates> dependencies, Collection<DependencyCoordinates> managedDependencies, boolean verbose, PathScope pathScope, Predicate<PathType> pathTypeFilter, List<RemoteRepository> repositories) Creates a request with the specified properties. -
Uses of PathType in org.apache.maven.internal.impl
Fields in org.apache.maven.internal.impl with type parameters of type PathTypeModifier and TypeFieldDescriptionDefaultDependencyResolverResult.dispatchedPaths
The file paths of all dependencies, dispatched according the Java options where to place them.PathModularizationCache.pathTypes
Whether JAR files are modular.Methods in org.apache.maven.internal.impl that return PathTypeModifier and TypeMethodDescriptionprivate PathType
PathModularizationCache.getPathType
(Path path) ReturnsJavaPathType.MODULES
if the given JAR file or output directory is modular.Methods in org.apache.maven.internal.impl that return types with arguments of type PathTypeModifier and TypeMethodDescriptionDefaultDependencyResolverResult.getDispatchedPaths()
AbstractSession.resolveDependencies
(DependencyCoordinates dependency, PathScope scope, Collection<PathType> desiredTypes) AbstractSession.resolveDependencies
(Project project, PathScope scope, Collection<PathType> desiredTypes) Selects the type of path where to place the given dependency.Methods in org.apache.maven.internal.impl with parameters of type PathTypeModifier and TypeMethodDescriptionprivate void
DefaultDependencyResolverResult.addPathElement
(PathType type, Path path) Adds the given path element to the specified type of path.Method parameters in org.apache.maven.internal.impl with type arguments of type PathTypeModifier and TypeMethodDescription(package private) void
DefaultDependencyResolverResult.addDependency
(Node node, Dependency dep, Predicate<PathType> filter, Path path) Adds a dependency to the result.private boolean
DefaultDependencyResolverResult.containsPatches
(Set<PathType> types) Returns whether the given set of path types contains at least one patch for a module.AbstractSession.resolveDependencies
(DependencyCoordinates dependency, PathScope scope, Collection<PathType> desiredTypes) AbstractSession.resolveDependencies
(Project project, PathScope scope, Collection<PathType> desiredTypes) Selects the type of path where to place the given dependency.Selects the type of path where to place the given dependency. -
Uses of PathType in org.apache.maven.internal.impl.resolver.type
Fields in org.apache.maven.internal.impl.resolver.type with type parameters of type PathTypeMethods in org.apache.maven.internal.impl.resolver.type that return types with arguments of type PathTypeConstructors in org.apache.maven.internal.impl.resolver.type with parameters of type PathType -
Uses of PathType in org.apache.maven.repository.internal.type
Fields in org.apache.maven.repository.internal.type with type parameters of type PathTypeMethods in org.apache.maven.repository.internal.type that return types with arguments of type PathTypeConstructors in org.apache.maven.repository.internal.type with parameters of type PathType