public static class MavenPlugin.ExecutionBuilder extends Object
MavenPlugin.Execution
.Constructor and Description |
---|
ExecutionBuilder(String id) |
Modifier and Type | Method and Description |
---|---|
MavenPlugin.ExecutionBuilder |
configuration(Consumer<MavenPlugin.ConfigurationBuilder> configuration)
Customize the
configuration of the execution using the specified
consumer. |
MavenPlugin.ExecutionBuilder |
goal(String goal)
Add a goal to invoke for this execution.
|
MavenPlugin.ExecutionBuilder |
phase(String phase)
Set the
phase of the build lifecycle that goals will execute in. |
public ExecutionBuilder(String id)
public MavenPlugin.ExecutionBuilder phase(String phase)
phase
of the build lifecycle that goals will execute in.phase
- the phase to usepublic MavenPlugin.ExecutionBuilder goal(String goal)
goal
- the goal to invokepublic MavenPlugin.ExecutionBuilder configuration(Consumer<MavenPlugin.ConfigurationBuilder> configuration)
configuration
of the execution using the specified
consumer.configuration
- a consumer of the current configurationCopyright © 2022 Pivotal Software, Inc.. All rights reserved.