@Generated @ThreadSafe @Immutable public class LifecycleConfiguration extends Object implements Serializable
lifecycle.xml
file.Modifier and Type | Class and Description |
---|---|
static class |
LifecycleConfiguration.Builder
Builder class used to create LifecycleConfiguration instances.
|
Modifier and Type | Method and Description |
---|---|
List<Lifecycle> |
getLifecycles() |
String |
getModelEncoding() |
static LifecycleConfiguration.Builder |
newBuilder()
Creates a new LifecycleConfiguration builder instance.
|
static LifecycleConfiguration.Builder |
newBuilder(boolean withDefaults)
Creates a new LifecycleConfiguration builder instance using default values or not.
|
static LifecycleConfiguration.Builder |
newBuilder(LifecycleConfiguration from)
Creates a new LifecycleConfiguration builder instance using the specified object as a basis.
|
static LifecycleConfiguration.Builder |
newBuilder(LifecycleConfiguration from,
boolean forceCopy)
Creates a new LifecycleConfiguration builder instance using the specified object as a basis.
|
static LifecycleConfiguration |
newInstance()
Creates a new LifecycleConfiguration instance.
|
static LifecycleConfiguration |
newInstance(boolean withDefaults)
Creates a new LifecycleConfiguration instance using default values or not.
|
LifecycleConfiguration.Builder |
with()
Creates a new builder with this object as the basis.
|
LifecycleConfiguration |
withLifecycles(Collection<Lifecycle> lifecycles)
Creates a new LifecycleConfiguration instance using the specified lifecycles.
|
public String getModelEncoding()
@Nonnull public LifecycleConfiguration.Builder with()
@Nonnull public LifecycleConfiguration withLifecycles(Collection<Lifecycle> lifecycles)
@Nonnull public static LifecycleConfiguration newInstance()
newInstance( true )
.newInstance(boolean)
@Nonnull public static LifecycleConfiguration newInstance(boolean withDefaults)
newBuilder( withDefaults ).build()
.@Nonnull public static LifecycleConfiguration.Builder newBuilder()
newBuilder( true )
.newBuilder(boolean)
@Nonnull public static LifecycleConfiguration.Builder newBuilder(boolean withDefaults)
@Nonnull public static LifecycleConfiguration.Builder newBuilder(LifecycleConfiguration from)
newBuilder( from, false )
.@Nonnull public static LifecycleConfiguration.Builder newBuilder(LifecycleConfiguration from, boolean forceCopy)
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.