Class ProjectBuildList
java.lang.Object
org.apache.maven.lifecycle.internal.ProjectBuildList
- All Implemented Interfaces:
 Iterable<ProjectSegment>
A list of project segments, ordered so that all ProjectSegments from first TaskSegment come before any subsequent TaskSegments.
Note: This interface is part of work in progress and can be changed or removed without notice.- Since:
 - 3.0
 - Author:
 - Kristian Rosenvold
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidcloseAll()findByMavenProject(MavenProject mavenProject) Finds the first ProjectSegment matching the supplied projectget(int index) getByTaskSegment(TaskSegment taskSegment) Returns aProjectBuildList that contains only items for the specified taskSegmentbooleanisEmpty()iterator()selectSegment(TaskSegment taskSegment) intsize()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator 
- 
Constructor Details
- 
ProjectBuildList
 
 - 
 - 
Method Details
- 
getByTaskSegment
Returns aProjectBuildList that contains only items for the specified taskSegment- Parameters:
 taskSegment- the requested tasksegment- Returns:
 - a project build list for the supplied task segment
 
 - 
selectSegment
 - 
findByMavenProject
Finds the first ProjectSegment matching the supplied project- Parameters:
 mavenProject- the requested project- Returns:
 - The projectSegment or null.
 
 - 
iterator
- Specified by:
 iteratorin interfaceIterable<ProjectSegment>
 - 
closeAll
public void closeAll() - 
size
public int size() - 
get
 - 
getReactorProjectKeys
 - 
isEmpty
public boolean isEmpty() - 
getProjects
- Returns:
 - a set of all the projects managed by the build
 
 
 -