Package org.apache.maven.api.services
Interface DependencyResolverRequest
- All Superinterfaces:
DependencyCollectorRequest
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Nested classes/interfaces inherited from interface org.apache.maven.api.services.DependencyCollectorRequest
DependencyCollectorRequest.DependencyCollectorRequestBuilder
-
Method Summary
Modifier and TypeMethodDescriptionstatic DependencyResolverRequest
build
(Session session, List<DependencyCoordinate> dependencies) static DependencyResolverRequest
build
(Session session, List<DependencyCoordinate> dependencies, PathScope scope) static DependencyResolverRequest
build
(Session session, DependencyCoordinate dependency) static DependencyResolverRequest
build
(Session session, DependencyCoordinate dependency, PathScope scope) static DependencyResolverRequest
static DependencyResolverRequest
builder()
Returns a filter for the types of path (class-path, module-path, …) accepted by the tool.Methods inherited from interface org.apache.maven.api.services.DependencyCollectorRequest
getDependencies, getManagedDependencies, getProject, getRoot, getRootArtifact, getSession, getVerbose
-
Method Details
-
getPathScope
-
getPathTypeFilter
Returns a filter for the types of path (class-path, module-path, …) accepted by the tool. For example, if a Java tools accepts only class-path elements, then the filter should returntrue
forJavaPathType.CLASSES
andfalse
forJavaPathType.MODULES
. If no filter is explicitly set, then the default is a filter accepting everything.- Returns:
- a filter for the types of path (class-path, module-path, …) accepted by the tool
-
builder
-
build
-
build
-
build
-
build
@Nonnull static DependencyResolverRequest build(Session session, DependencyCoordinate dependency, PathScope scope) -
build
@Nonnull static DependencyResolverRequest build(Session session, List<DependencyCoordinate> dependencies) -
build
@Nonnull static DependencyResolverRequest build(Session session, List<DependencyCoordinate> dependencies, PathScope scope)
-