public class DependencyContext extends Object
Context of dependency artifacts for a particular project.
NOTE: This class is not part of any public api and can be changed or deleted without prior notice.Constructor and Description |
---|
DependencyContext(MavenProject project,
Collection<String> scopesToCollect,
Collection<String> scopesToResolve) |
Modifier and Type | Method and Description |
---|---|
MavenProject |
getProject() |
Collection<String> |
getScopesToCollectForAggregatedProjects() |
Collection<String> |
getScopesToCollectForCurrentProject() |
Collection<String> |
getScopesToResolveForAggregatedProjects() |
Collection<String> |
getScopesToResolveForCurrentProject() |
boolean |
isResolutionRequiredForAggregatedProjects(Collection<String> scopesToCollect,
Collection<String> scopesToResolve) |
boolean |
isResolutionRequiredForCurrentProject() |
void |
synchronizeWithProjectState() |
public DependencyContext(MavenProject project, Collection<String> scopesToCollect, Collection<String> scopesToResolve)
public MavenProject getProject()
public Collection<String> getScopesToCollectForCurrentProject()
public Collection<String> getScopesToResolveForCurrentProject()
public Collection<String> getScopesToCollectForAggregatedProjects()
public Collection<String> getScopesToResolveForAggregatedProjects()
public boolean isResolutionRequiredForCurrentProject()
public boolean isResolutionRequiredForAggregatedProjects(Collection<String> scopesToCollect, Collection<String> scopesToResolve)
public void synchronizeWithProjectState()
Copyright © 2001–2023 The Apache Software Foundation. All rights reserved.