Package io.helidon.build.maven.cache
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 -
Method Summary
Modifier and TypeMethodDescriptionMap<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.voidsave(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.
-
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 projectsession- Maven session
-