Package io.helidon.build.cache
Class ProjectExecutionManager
- java.lang.Object
-
- io.helidon.build.cache.ProjectExecutionManager
-
@Component(role=ProjectExecutionManager.class, hint="default") public class ProjectExecutionManager extends Object
Project execution manager.
-
-
Constructor Summary
Constructors Constructor Description ProjectExecutionManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.helidon.build.cache.ProjectExecutionPlanplan(org.apache.maven.project.MavenProject project)Get the execution plan for a given project.voidprocessExecutions(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.voidrecordExecution(org.apache.maven.plugin.MojoExecution execution, org.apache.maven.execution.MavenSession session, org.apache.maven.project.MavenProject project)Record the given execution.
-
-
-
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 sessionproject- Maven projectstateStatus- 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
nullif 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 recordsession- Maven sessionproject- 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
-
-