|
||||||||||
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,
RepositorySystemSession session)
|
Method Summary | |
---|---|
MavenProject |
getMavenProject()
Gets the project to resolve dependencies for. |
RepositorySystemSession |
getRepositorySession()
Gets the session to use for repository access. |
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(RepositorySystemSession repositorySession)
Sets the session to use for repository access. |
DependencyResolutionRequest |
setResolutionFilter(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, RepositorySystemSession session)
Method Detail |
---|
public 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 RepositorySystemSession getRepositorySession()
DependencyResolutionRequest
getRepositorySession
in interface DependencyResolutionRequest
null
if not set.public DependencyResolutionRequest setResolutionFilter(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(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 |