Class ProjectExecutionManager

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      io.helidon.build.cache.ProjectExecutionPlan plan​(org.apache.maven.project.MavenProject project)
      Get the execution plan for a given project.
      void processExecutions​(org.apache.maven.execution.MavenSession session, org.apache.maven.project.MavenProject project, io.helidon.build.cache.ProjectStateStatus stateStatus)
      Process the executions for the given project.
      List<io.helidon.build.cache.ExecutionEntry> recordedExecutions​(org.apache.maven.project.MavenProject project)
      Get the recorded executions for a given project.
      void recordExecution​(org.apache.maven.plugin.MojoExecution execution, org.apache.maven.execution.MavenSession session, org.apache.maven.project.MavenProject project)
      Record the given execution.
    • Constructor Detail

      • ProjectExecutionManager

        public ProjectExecutionManager()
    • Method Detail

      • processExecutions

        public void processExecutions​(org.apache.maven.execution.MavenSession session,
                                      org.apache.maven.project.MavenProject project,
                                      io.helidon.build.cache.ProjectStateStatus stateStatus)
        Process the executions for the given project.
        Parameters:
        session - Maven session
        project - Maven project
        stateStatus - project state status
      • plan

        public io.helidon.build.cache.ProjectExecutionPlan plan​(org.apache.maven.project.MavenProject project)
        Get the execution plan for a given project.
        Parameters:
        project - Maven project
        Returns:
        ProjectExecutionPlan or null if not found
      • recordExecution

        public void recordExecution​(org.apache.maven.plugin.MojoExecution execution,
                                    org.apache.maven.execution.MavenSession session,
                                    org.apache.maven.project.MavenProject project)
        Record the given execution.
        Parameters:
        execution - execution to record
        session - Maven session
        project - Maven project
      • recordedExecutions

        public List<io.helidon.build.cache.ExecutionEntry> recordedExecutions​(org.apache.maven.project.MavenProject project)
        Get the recorded executions for a given project.
        Parameters:
        project - Maven project
        Returns:
        list of RecordedExecution