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 ofBuildResumptionData
based on the outcome of the current Maven build.
-
Method Details
-
determineBuildResumptionData
Construct an instance ofBuildResumptionData
based on the outcome of the current Maven build.- Parameters:
result
- Outcome of the current Maven build.- Returns:
- A
BuildResumptionData
instance orOptional.empty()
if resuming the build is not possible.
-