Package org.apache.maven.execution
Class DefaultBuildResumptionDataRepository
java.lang.Object
org.apache.maven.execution.DefaultBuildResumptionDataRepository
- All Implemented Interfaces:
- BuildResumptionDataRepository
@Named
@Singleton
public class DefaultBuildResumptionDataRepository
extends Object
implements BuildResumptionDataRepository
This implementation of 
BuildResumptionDataRepository persists information in a properties file. The file is
 stored in the build output directory under the Maven execution root.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidapplyResumptionData(MavenExecutionRequest request, MavenProject rootProject) Uses previously stored resumption data to enrich an existing execution request.voidpersistResumptionData(MavenProject rootProject, BuildResumptionData buildResumptionData) Persists any data needed to resume the build at a later point in time, using a new Maven invocation.voidremoveResumptionData(MavenProject rootProject) Removes previously stored resumption data.
- 
Constructor Details- 
DefaultBuildResumptionDataRepositorypublic DefaultBuildResumptionDataRepository()
 
- 
- 
Method Details- 
persistResumptionDatapublic void persistResumptionData(MavenProject rootProject, BuildResumptionData buildResumptionData) throws BuildResumptionPersistenceException Description copied from interface:BuildResumptionDataRepositoryPersists any data needed to resume the build at a later point in time, using a new Maven invocation. This method may also decide it is not needed or meaningful to persist such data, and returnfalseto indicate so.- Specified by:
- persistResumptionDatain interface- BuildResumptionDataRepository
- Parameters:
- rootProject- The root project that is being built.
- buildResumptionData- Information needed to resume the build.
- Throws:
- BuildResumptionPersistenceException- When an error occurs while persisting data.
 
- 
applyResumptionDataDescription copied from interface:BuildResumptionDataRepositoryUses previously stored resumption data to enrich an existing execution request.- Specified by:
- applyResumptionDatain interface- BuildResumptionDataRepository
- Parameters:
- request- The execution request that will be enriched.
- rootProject- The root project that is being built.
 
- 
removeResumptionDataDescription copied from interface:BuildResumptionDataRepositoryRemoves previously stored resumption data.- Specified by:
- removeResumptionDatain interface- BuildResumptionDataRepository
- Parameters:
- rootProject- The root project that is being built.
 
 
-