Class ProjectStateManager

java.lang.Object
io.helidon.build.maven.cache.ProjectStateManager

@Component(role=ProjectStateManager.class, hint="default") public class ProjectStateManager extends Object
Project state manager.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Map<org.apache.maven.project.MavenProject,io.helidon.build.maven.cache.ProjectStateStatus>
    processStates(org.apache.maven.execution.MavenSession session)
    Process the state of all the projects in the session.
    void
    save(org.apache.maven.project.MavenProject project, org.apache.maven.execution.MavenSession session)
    Merge and save the state for a given project.
    Map<org.apache.maven.project.MavenProject,io.helidon.build.maven.cache.ProjectStateStatus>
    Get the loaded states.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ProjectStateManager

      public ProjectStateManager()
  • Method Details

    • statesStatuses

      public Map<org.apache.maven.project.MavenProject,io.helidon.build.maven.cache.ProjectStateStatus> statesStatuses()
      Get the loaded states.
      Returns:
      map of state keyed by project
    • processStates

      public Map<org.apache.maven.project.MavenProject,io.helidon.build.maven.cache.ProjectStateStatus> processStates(org.apache.maven.execution.MavenSession session)
      Process the state of all the projects in the session.
      Parameters:
      session - Maven session
      Returns:
      map of state statuses by project
    • save

      public void save(org.apache.maven.project.MavenProject project, org.apache.maven.execution.MavenSession session)
      Merge and save the state for a given project.
      Parameters:
      project - Maven project
      session - Maven session