org.apache.maven.lifecycle.internal
Class DependencyContext

java.lang.Object
  extended by org.apache.maven.lifecycle.internal.DependencyContext

public class DependencyContext
extends Object

Context of dependency artifacts for a particular project.

Since:
3.0
Author:
Benjamin Bentmann, Kristian Rosenvold (class extract only)

NOTE: This class is not part of any public api and can be changed or deleted without prior notice.


Constructor Summary
DependencyContext(MavenProject project, Collection<String> scopesToCollect, Collection<String> scopesToResolve)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DependencyContext

public DependencyContext(MavenProject project,
                         Collection<String> scopesToCollect,
                         Collection<String> scopesToResolve)
Method Detail

getProject

public MavenProject getProject()

getScopesToCollectForCurrentProject

public Collection<String> getScopesToCollectForCurrentProject()

getScopesToResolveForCurrentProject

public Collection<String> getScopesToResolveForCurrentProject()

getScopesToCollectForAggregatedProjects

public Collection<String> getScopesToCollectForAggregatedProjects()

getScopesToResolveForAggregatedProjects

public Collection<String> getScopesToResolveForAggregatedProjects()

isResolutionRequiredForCurrentProject

public boolean isResolutionRequiredForCurrentProject()

isResolutionRequiredForAggregatedProjects

public boolean isResolutionRequiredForAggregatedProjects(Collection<String> scopesToCollect,
                                                         Collection<String> scopesToResolve)

synchronizeWithProjectState

public void synchronizeWithProjectState()


Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.