Package io.helidon.build.devloop.maven
Class DevLoopBuildConfig.FullBuildConfig
java.lang.Object
io.helidon.build.devloop.maven.DevLoopBuildConfig.FullBuildConfig
- Enclosing class:
- DevLoopBuildConfig
Full build configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the maximum number of build failures allowed before the dev loop should exit.phase()Returns the validated full build phase.voidresolve(MavenGoalReferenceResolver resolver) Resolve goal references.voidsetMaxBuildFailures(int maxBuildFailures) Sets the maximum number of full build failures allowed before the dev loop should exit.voidSets the full build phase.toString()voidvalidate()Validate the configuration.
-
Constructor Details
-
FullBuildConfig
public FullBuildConfig()Constructor.
-
-
Method Details
-
validate
public void validate() throws org.apache.maven.plugin.MojoExecutionExceptionValidate the configuration.- Throws:
org.apache.maven.plugin.MojoExecutionException- If invalid.
-
resolve
Resolve goal references.- Parameters:
resolver- The resolver.- Throws:
Exception- If an error occurs.
-
phase
Returns the validated full build phase.- Returns:
- The phase.
-
maxBuildFailures
public int maxBuildFailures()Returns the maximum number of build failures allowed before the dev loop should exit.- Returns:
- The maximum.
-
setPhase
Sets the full build phase.- Parameters:
phase- The phase.
-
setMaxBuildFailures
public void setMaxBuildFailures(int maxBuildFailures) Sets the maximum number of full build failures allowed before the dev loop should exit.- Parameters:
maxBuildFailures- The count.
-
toString
-