public class ProjectBuildList extends Object implements 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.Constructor and Description |
---|
ProjectBuildList(List<ProjectSegment> items) |
Modifier and Type | Method and Description |
---|---|
void |
closeAll() |
ProjectSegment |
findByMavenProject(MavenProject mavenProject)
Finds the first ProjectSegment matching the supplied project
|
ProjectSegment |
get(int index) |
ProjectBuildList |
getByTaskSegment(TaskSegment taskSegment)
Returns aProjectBuildList that contains only items for the specified taskSegment
|
Set<MavenProject> |
getProjects() |
Set<String> |
getReactorProjectKeys() |
boolean |
isEmpty() |
Iterator<ProjectSegment> |
iterator() |
Map<MavenProject,ProjectSegment> |
selectSegment(TaskSegment taskSegment) |
int |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public ProjectBuildList(List<ProjectSegment> items)
public ProjectBuildList getByTaskSegment(TaskSegment taskSegment)
taskSegment
- the requested tasksegmentpublic Map<MavenProject,ProjectSegment> selectSegment(TaskSegment taskSegment)
public ProjectSegment findByMavenProject(MavenProject mavenProject)
mavenProject
- the requested projectpublic Iterator<ProjectSegment> iterator()
iterator
in interface Iterable<ProjectSegment>
public void closeAll()
public int size()
public ProjectSegment get(int index)
public boolean isEmpty()
public Set<MavenProject> getProjects()
Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.