Package io.helidon.build.dev.maven
Class DevLoopBuildConfig.FullBuildConfig
- java.lang.Object
-
- io.helidon.build.dev.maven.DevLoopBuildConfig.FullBuildConfig
-
- Enclosing class:
- DevLoopBuildConfig
public static class DevLoopBuildConfig.FullBuildConfig extends Object
Full build configuration.
-
-
Constructor Summary
Constructors Constructor Description FullBuildConfig()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intmaxBuildFailures()Returns the maximum number of build failures allowed before the dev loop should exit.Stringphase()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.voidsetPhase(String phase)Sets the full build phase.StringtoString()voidvalidate()Validate the configuration.
-
-
-
Method Detail
-
validate
public void validate() throws org.apache.maven.plugin.MojoExecutionExceptionValidate the configuration.- Throws:
org.apache.maven.plugin.MojoExecutionException- If invalid.
-
resolve
public void resolve(MavenGoalReferenceResolver resolver) throws Exception
Resolve goal references.- Parameters:
resolver- The resolver.- Throws:
Exception- If an error occurs.
-
phase
public String 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
public void setPhase(String phase)
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.
-
-