|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.project.DefaultDependencyResolutionRequest
public class DefaultDependencyResolutionRequest
Constructor Summary | |
---|---|
DefaultDependencyResolutionRequest()
|
|
DefaultDependencyResolutionRequest(MavenProject project,
org.eclipse.aether.RepositorySystemSession session)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultDependencyResolutionRequest()
public DefaultDependencyResolutionRequest(MavenProject project, org.eclipse.aether.RepositorySystemSession session)
Method Detail |
---|
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
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |