Class LifecycleConfiguration
java.lang.Object
org.apache.maven.plugin.lifecycle.LifecycleConfiguration
- All Implemented Interfaces:
Serializable
@Generated
@ThreadSafe
@Immutable
public class LifecycleConfiguration
extends Object
implements Serializable
Root element of the
lifecycle.xml
file.- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder class used to create LifecycleConfiguration instances. -
Method Summary
Modifier and TypeMethodDescriptionCreates a new LifecycleConfiguration builder instance.newBuilder
(boolean withDefaults) Creates a new LifecycleConfiguration builder instance using default values or not.Creates a new LifecycleConfiguration builder instance using the specified object as a basis.newBuilder
(LifecycleConfiguration from, boolean forceCopy) Creates a new LifecycleConfiguration builder instance using the specified object as a basis.static LifecycleConfiguration
Creates a new LifecycleConfiguration instance.static LifecycleConfiguration
newInstance
(boolean withDefaults) Creates a new LifecycleConfiguration instance using default values or not.with()
Creates a new builder with this object as the basis.withLifecycles
(Collection<Lifecycle> lifecycles) Creates a new LifecycleConfiguration instance using the specified lifecycles.
-
Method Details
-
getModelEncoding
-
getLifecycles
-
with
Creates a new builder with this object as the basis. -
withLifecycles
Creates a new LifecycleConfiguration instance using the specified lifecycles. -
newInstance
Creates a new LifecycleConfiguration instance. Equivalent tonewInstance( true )
.- See Also:
-
newInstance
Creates a new LifecycleConfiguration instance using default values or not. Equivalent tonewBuilder( withDefaults ).build()
. -
newBuilder
Creates a new LifecycleConfiguration builder instance. Equivalent tonewBuilder( true )
.- See Also:
-
newBuilder
Creates a new LifecycleConfiguration builder instance using default values or not. -
newBuilder
Creates a new LifecycleConfiguration builder instance using the specified object as a basis. Equivalent tonewBuilder( from, false )
. -
newBuilder
@Nonnull public static LifecycleConfiguration.Builder newBuilder(LifecycleConfiguration from, boolean forceCopy) Creates a new LifecycleConfiguration builder instance using the specified object as a basis.
-