Class LifecycleConfiguration
java.lang.Object
org.apache.maven.api.plugin.descriptor.lifecycle.LifecycleConfiguration
- All Implemented Interfaces:
 Serializable
@Experimental
@Generated
@ThreadSafe
@Immutable
public class LifecycleConfiguration
extends Object
implements Serializable
Root element of the 
lifecycle.xml file.- See Also:
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder class used to create LifecycleConfiguration instances. - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor for this class, to be called from its subclasses andLifecycleConfiguration.Builder. - 
Method Summary
Modifier and TypeMethodDescriptionCreates a newLifecycleConfigurationbuilder instance.newBuilder(boolean withDefaults) Creates a newLifecycleConfigurationbuilder instance using default values or not.Creates a newLifecycleConfigurationbuilder instance using the specified object as a basis.newBuilder(LifecycleConfiguration from, boolean forceCopy) Creates a newLifecycleConfigurationbuilder instance using the specified object as a basis.static LifecycleConfigurationCreates a newLifecycleConfigurationinstance.static LifecycleConfigurationnewInstance(boolean withDefaults) Creates a newLifecycleConfigurationinstance using default values or not.with()Creates a new builder with this object as the basis.withLifecycles(Collection<Lifecycle> lifecycles) Creates a newLifecycleConfigurationinstance using the specified lifecycles. 
- 
Constructor Details
- 
LifecycleConfiguration
Constructor for this class, to be called from its subclasses andLifecycleConfiguration.Builder.- See Also:
 
 
 - 
 - 
Method Details
- 
getNamespaceUri
 - 
getModelEncoding
 - 
getLifecycles
 - 
with
Creates a new builder with this object as the basis.- Returns:
 - a 
Builder 
 - 
withLifecycles
Creates a newLifecycleConfigurationinstance using the specified lifecycles.- Parameters:
 lifecycles- the newCollection<Lifecycle>to use- Returns:
 - a 
LifecycleConfigurationwith the specified lifecycles 
 - 
newInstance
Creates a newLifecycleConfigurationinstance. Equivalent tonewInstance(true).- Returns:
 - a new 
LifecycleConfiguration - See Also:
 
 - 
newInstance
Creates a newLifecycleConfigurationinstance using default values or not. Equivalent tonewBuilder(withDefaults).build().- Parameters:
 withDefaults- the boolean indicating whether default values should be used- Returns:
 - a new 
LifecycleConfiguration 
 - 
newBuilder
Creates a newLifecycleConfigurationbuilder instance. Equivalent tonewBuilder(true).- Returns:
 - a new 
Builder - See Also:
 
 - 
newBuilder
Creates a newLifecycleConfigurationbuilder instance using default values or not.- Parameters:
 withDefaults- the boolean indicating whether default values should be used- Returns:
 - a new 
Builder 
 - 
newBuilder
Creates a newLifecycleConfigurationbuilder instance using the specified object as a basis. Equivalent tonewBuilder(from, false).- Parameters:
 from- theLifecycleConfigurationinstance to use as a basis- Returns:
 - a new 
Builder 
 - 
newBuilder
@Nonnull public static LifecycleConfiguration.Builder newBuilder(LifecycleConfiguration from, boolean forceCopy) Creates a newLifecycleConfigurationbuilder instance using the specified object as a basis.- Parameters:
 from- theLifecycleConfigurationinstance to use as a basisforceCopy- the boolean indicating if a copy should be forced- Returns:
 - a new 
Builder 
 
 -