Package io.helidon.build.devloop.maven
Class DevLoopBuildConfig
java.lang.Object
io.helidon.build.devloop.maven.DevLoopBuildConfig
Configuration beans for the
DevLoop build lifecycle.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFull build configuration.static classIncremental build configuration. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the full build config.Returns the incremental build config.intReturns the maximum number of application failures allowed before the dev loop should exit.voidresolve(MavenGoalReferenceResolver resolver) Resolve goal references.voidsetFullBuild(DevLoopBuildConfig.FullBuildConfig fullBuild) Sets the full build config.voidsetIncrementalBuild(DevLoopBuildConfig.IncrementalBuildConfig incrementalBuild) Sets the incremental build config.voidsetMaxApplicationFailures(int maxApplicationFailures) Sets the maximum number of application failures allowed before the dev loop should exit.toString()voidvalidate()Validate the configuration.
-
Constructor Details
-
DevLoopBuildConfig
public DevLoopBuildConfig()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.
-
fullBuild
Returns the full build config.- Returns:
- The config.
-
incrementalBuild
Returns the incremental build config.- Returns:
- The config.
-
maxApplicationFailures
public int maxApplicationFailures()Returns the maximum number of application failures allowed before the dev loop should exit.- Returns:
- The maximum.
-
setFullBuild
Sets the full build config.- Parameters:
fullBuild- The config.
-
setIncrementalBuild
Sets the incremental build config.- Parameters:
incrementalBuild- The config.
-
setMaxApplicationFailures
public void setMaxApplicationFailures(int maxApplicationFailures) Sets the maximum number of application failures allowed before the dev loop should exit.- Parameters:
maxApplicationFailures- The count.
-
toString
-