@Generated @ThreadSafe @Immutable public class Execution extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
Execution.Builder
Builder class used to create Execution instances.
|
Modifier and Type | Method and Description |
---|---|
org.apache.maven.api.xml.Dom |
getConfiguration()
Configuration to pass to the goals.
|
List<String> |
getGoals()
The goals to execute.
|
static Execution.Builder |
newBuilder()
Creates a new Execution builder instance.
|
static Execution.Builder |
newBuilder(boolean withDefaults)
Creates a new Execution builder instance using default values or not.
|
static Execution.Builder |
newBuilder(Execution from)
Creates a new Execution builder instance using the specified object as a basis.
|
static Execution.Builder |
newBuilder(Execution from,
boolean forceCopy)
Creates a new Execution builder instance using the specified object as a basis.
|
static Execution |
newInstance()
Creates a new Execution instance.
|
static Execution |
newInstance(boolean withDefaults)
Creates a new Execution instance using default values or not.
|
Execution.Builder |
with()
Creates a new builder with this object as the basis.
|
Execution |
withConfiguration(org.apache.maven.api.xml.Dom configuration)
Creates a new Execution instance using the specified configuration.
|
Execution |
withGoals(Collection<String> goals)
Creates a new Execution instance using the specified goals.
|
public org.apache.maven.api.xml.Dom getConfiguration()
@Nonnull public Execution.Builder with()
@Nonnull public Execution withConfiguration(org.apache.maven.api.xml.Dom configuration)
@Nonnull public Execution withGoals(Collection<String> goals)
@Nonnull public static Execution newInstance()
newInstance( true )
.newInstance(boolean)
@Nonnull public static Execution newInstance(boolean withDefaults)
newBuilder( withDefaults ).build()
.@Nonnull public static Execution.Builder newBuilder()
newBuilder( true )
.newBuilder(boolean)
@Nonnull public static Execution.Builder newBuilder(boolean withDefaults)
@Nonnull public static Execution.Builder newBuilder(Execution from)
newBuilder( from, false )
.@Nonnull public static Execution.Builder newBuilder(Execution from, boolean forceCopy)
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.