public class DefaultDependencyResolutionRequest extends Object implements DependencyResolutionRequest
Constructor and Description |
---|
DefaultDependencyResolutionRequest() |
DefaultDependencyResolutionRequest(MavenProject project,
org.eclipse.aether.RepositorySystemSession session) |
Modifier and Type | Method and Description |
---|---|
MavenProject |
getMavenProject()
Gets the project to resolve dependencies for.
|
org.eclipse.aether.RepositorySystemSession |
getRepositorySession()
Gets the session to use for repository access.
|
org.eclipse.aether.graph.DependencyFilter |
getResolutionFilter()
Gets the filter used to exclude some dependencies from resolution.
|
DependencyResolutionRequest |
setMavenProject(MavenProject project)
Sets the project to resolve dependencies for.
|
DependencyResolutionRequest |
setRepositorySession(org.eclipse.aether.RepositorySystemSession repositorySession)
Sets the session to use for repository access.
|
DependencyResolutionRequest |
setResolutionFilter(org.eclipse.aether.graph.DependencyFilter filter)
Sets the filter used to exclude some dependencies from resolution.
|
public DefaultDependencyResolutionRequest()
public DefaultDependencyResolutionRequest(MavenProject project, org.eclipse.aether.RepositorySystemSession session)
public org.eclipse.aether.graph.DependencyFilter getResolutionFilter()
DependencyResolutionRequest
getResolutionFilter
in interface DependencyResolutionRequest
null
to resolve all dependencies.public MavenProject getMavenProject()
DependencyResolutionRequest
getMavenProject
in interface DependencyResolutionRequest
null
if not set.public org.eclipse.aether.RepositorySystemSession getRepositorySession()
DependencyResolutionRequest
getRepositorySession
in interface DependencyResolutionRequest
null
if not set.public DependencyResolutionRequest setResolutionFilter(org.eclipse.aether.graph.DependencyFilter filter)
DependencyResolutionRequest
setResolutionFilter
in interface DependencyResolutionRequest
filter
- The filter to exclude dependencies from resolution, may be null
to resolve all
dependencies.null
.public DependencyResolutionRequest setMavenProject(MavenProject project)
DependencyResolutionRequest
setMavenProject
in interface DependencyResolutionRequest
project
- The project to resolve dependencies for, may be null
.null
.public DependencyResolutionRequest setRepositorySession(org.eclipse.aether.RepositorySystemSession repositorySession)
DependencyResolutionRequest
setRepositorySession
in interface DependencyResolutionRequest
repositorySession
- The repository session to use.null
.Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.