Package org.apache.maven.execution
Interface BuildResumptionAnalyzer
- All Known Implementing Classes:
DefaultBuildResumptionAnalyzer
public interface BuildResumptionAnalyzer
Instances of this class are responsible for determining whether it makes sense to "resume" a build (i.e., using
the
--resume flag.-
Method Summary
Modifier and TypeMethodDescriptionConstruct an instance ofBuildResumptionDatabased on the outcome of the current Maven build.
-
Method Details
-
determineBuildResumptionData
Construct an instance ofBuildResumptionDatabased on the outcome of the current Maven build.- Parameters:
result- Outcome of the current Maven build.- Returns:
- A
BuildResumptionDatainstance orOptional.empty()if resuming the build is not possible.
-