Package io.helidon.build.devloop.maven
Class DevLoopBuildConfig.IncrementalBuildConfig
java.lang.Object
io.helidon.build.devloop.maven.DevLoopBuildConfig.IncrementalBuildConfig
- Enclosing class:
- DevLoopBuildConfig
Incremental build configuration.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classCustom directory configuration. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the custom directory configurations.Returns the resolved Java source goals.intReturns the maximum number of build failures allowed before the dev loop should exit.voidresolve(MavenGoalReferenceResolver resolver) Resolve goal references.Returns the resolved resource goals.voidsetCustomDirectories(List<DevLoopBuildConfig.IncrementalBuildConfig.CustomDirectoryConfig> customDirectories) Sets the custom directory configurations.voidsetJavaSourceGoals(List<String> javaSourceGoals) Sets the Java source goals.voidsetMaxBuildFailures(int maxBuildFailures) Sets the maximum number of full build failures allowed before the dev loop should exit.voidsetResourceGoals(List<String> resourceGoals) Sets the resource goals.toString()Returns the unresolved Java source goals.Returns the unresolved resource goals.voidvalidate()Validate the configuration.
-
Constructor Details
-
IncrementalBuildConfig
public IncrementalBuildConfig()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.
-
resourceGoals
Returns the resolved resource goals.- Returns:
- The goals.
-
javaSourceGoals
Returns the resolved Java source goals.- Returns:
- The goals.
-
unresolvedResourceGoals
Returns the unresolved resource goals.- Returns:
- The goals.
-
unresolvedJavaSourceGoals
Returns the unresolved Java source goals.- Returns:
- The goals.
-
customDirectories
Returns the custom directory configurations.- Returns:
- The configurations.
-
maxBuildFailures
public int maxBuildFailures()Returns the maximum number of build failures allowed before the dev loop should exit.- Returns:
- The maximum.
-
setResourceGoals
Sets the resource goals.- Parameters:
resourceGoals- The goals.
-
setJavaSourceGoals
Sets the Java source goals.- Parameters:
javaSourceGoals- The goals.
-
setCustomDirectories
public void setCustomDirectories(List<DevLoopBuildConfig.IncrementalBuildConfig.CustomDirectoryConfig> customDirectories) Sets the custom directory configurations.- Parameters:
customDirectories- The configurations.
-
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
-