Class Execution
java.lang.Object
org.apache.maven.plugin.lifecycle.Execution
- All Implemented Interfaces:
Serializable
A set of goals to execute.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder class used to create Execution instances. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.maven.api.xml.Dom
Configuration to pass to the goals.getGoals()
The goals to execute.static Execution.Builder
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
Creates a new Execution instance.static Execution
newInstance
(boolean withDefaults) Creates a new Execution instance using default values or not.with()
Creates a new builder with this object as the basis.withConfiguration
(org.apache.maven.api.xml.Dom configuration) Creates a new Execution instance using the specified configuration.withGoals
(Collection<String> goals) Creates a new Execution instance using the specified goals.
-
Method Details
-
getConfiguration
public org.apache.maven.api.xml.Dom getConfiguration()Configuration to pass to the goals. -
getGoals
The goals to execute. -
with
Creates a new builder with this object as the basis. -
withConfiguration
Creates a new Execution instance using the specified configuration. -
withGoals
Creates a new Execution instance using the specified goals. -
newInstance
Creates a new Execution instance. Equivalent tonewInstance( true )
.- See Also:
-
newInstance
Creates a new Execution instance using default values or not. Equivalent tonewBuilder( withDefaults ).build()
. -
newBuilder
Creates a new Execution builder instance. Equivalent tonewBuilder( true )
.- See Also:
-
newBuilder
Creates a new Execution builder instance using default values or not. -
newBuilder
Creates a new Execution builder instance using the specified object as a basis. Equivalent tonewBuilder( from, false )
. -
newBuilder
Creates a new Execution builder instance using the specified object as a basis.
-