Package io.helidon.build.dev.maven
Class MavenGoalBuildStep
- java.lang.Object
-
- io.helidon.build.dev.maven.MavenGoalBuildStep
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMavenGoalBuildStep.BuilderA builder.static classMavenGoalBuildStep.BuildGoalA build goal.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MavenGoalBuildStep.Builderbuilder()Returns a new builder.static MavenGoalBuildStep.BuildGoalcompileGoal()Returns thecompilegoal.voidincrementalBuild(BuildRoot.Changes changes, Consumer<String> stdOut, Consumer<String> stdErr)Execute the build step for the given changed files only.BuildRootTypeinputType()Returns the input type to which this step will apply.BuildRootTypeoutputType()Returns the output type that this step will produce.static MavenGoalBuildStep.BuildGoalresourcesGoal()Returns theresourcesgoal.
-
-
-
Method Detail
-
resourcesGoal
public static MavenGoalBuildStep.BuildGoal resourcesGoal()
Returns theresourcesgoal.- Returns:
- The goal.
-
compileGoal
public static MavenGoalBuildStep.BuildGoal compileGoal()
Returns thecompilegoal.- Returns:
- The goal.
-
builder
public static MavenGoalBuildStep.Builder builder()
Returns a new builder.- Returns:
- The builder.
-
inputType
public BuildRootType inputType()
Description copied from interface:BuildStepReturns the input type to which this step will apply.
-
outputType
public BuildRootType outputType()
Description copied from interface:BuildStepReturns the output type that this step will produce.- Specified by:
outputTypein interfaceBuildStep- Returns:
- The type.
-
incrementalBuild
public void incrementalBuild(BuildRoot.Changes changes, Consumer<String> stdOut, Consumer<String> stdErr) throws Exception
Description copied from interface:BuildStepExecute the build step for the given changed files only. Any component that does not match this predicate is ignored.- Specified by:
incrementalBuildin interfaceBuildStep- Parameters:
changes- The changes.stdOut- A consumer for stdout.stdErr- A consumer for stderr.- Throws:
Exception- on error.
-
-