Class ProjectBuildList

  • All Implemented Interfaces:
    Iterable<ProjectSegment>

    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.
    Since:
    3.0
    Author:
    Kristian Rosenvold
    • Method Detail

      • getByTaskSegment

        public ProjectBuildList getByTaskSegment​(TaskSegment taskSegment)
        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
      • findByMavenProject

        public ProjectSegment findByMavenProject​(MavenProject mavenProject)
        Finds the first ProjectSegment matching the supplied project
        Parameters:
        mavenProject - the requested project
        Returns:
        The projectSegment or null.
      • closeAll

        public void closeAll()
      • size

        public int size()
      • getReactorProjectKeys

        public Set<String> getReactorProjectKeys()
      • isEmpty

        public boolean isEmpty()
      • getProjects

        public Set<MavenProject> getProjects()
        Returns:
        a set of all the projects managed by the build