Package io.helidon.build.dev.maven
Class MavenGoalExecutor.Builder
- java.lang.Object
-
- io.helidon.build.dev.maven.MavenGoalExecutor.Builder
-
- Enclosing class:
- MavenGoalExecutor
public static class MavenGoalExecutor.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MavenGoalExecutorbuild()Returns the new build step.MavenGoalExecutor.Buildergoal(MavenGoalExecutor.Goal goal)Sets the goal.MavenGoalExecutor.BuildermavenProject(org.apache.maven.project.MavenProject mavenProject)Sets the maven project.MavenGoalExecutor.BuildermavenSession(org.apache.maven.execution.MavenSession mavenSession)Sets the maven session.MavenGoalExecutor.BuilderpluginManager(org.apache.maven.plugin.BuildPluginManager pluginManager)Sets the plugin manager.
-
-
-
Method Detail
-
mavenProject
public MavenGoalExecutor.Builder mavenProject(org.apache.maven.project.MavenProject mavenProject)
Sets the maven project.- Parameters:
mavenProject- The project.- Returns:
- This instance, for chaining.
-
mavenSession
public MavenGoalExecutor.Builder mavenSession(org.apache.maven.execution.MavenSession mavenSession)
Sets the maven session.- Parameters:
mavenSession- The session.- Returns:
- This instance, for chaining.
-
pluginManager
public MavenGoalExecutor.Builder pluginManager(org.apache.maven.plugin.BuildPluginManager pluginManager)
Sets the plugin manager.- Parameters:
pluginManager- The manager.- Returns:
- This instance, for chaining.
-
goal
public MavenGoalExecutor.Builder goal(MavenGoalExecutor.Goal goal)
Sets the goal.- Parameters:
goal- The goal.- Returns:
- This instance, for chaining.
-
build
public MavenGoalExecutor build()
Returns the new build step.- Returns:
- The build step.
-
-