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()
DependencyResolutionRequestgetResolutionFilter in interface DependencyResolutionRequestnull to resolve all dependencies.public MavenProject getMavenProject()
DependencyResolutionRequestgetMavenProject in interface DependencyResolutionRequestnull if not set.public org.eclipse.aether.RepositorySystemSession getRepositorySession()
DependencyResolutionRequestgetRepositorySession in interface DependencyResolutionRequestnull if not set.public DependencyResolutionRequest setResolutionFilter(org.eclipse.aether.graph.DependencyFilter filter)
DependencyResolutionRequestsetResolutionFilter in interface DependencyResolutionRequestfilter - The filter to exclude dependencies from resolution, may be null to resolve all
dependencies.null.public DependencyResolutionRequest setMavenProject(MavenProject project)
DependencyResolutionRequestsetMavenProject in interface DependencyResolutionRequestproject - The project to resolve dependencies for, may be null.null.public DependencyResolutionRequest setRepositorySession(org.eclipse.aether.RepositorySystemSession repositorySession)
DependencyResolutionRequestsetRepositorySession in interface DependencyResolutionRequestrepositorySession - The repository session to use.null.Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.