@NotThreadSafe public static class Lifecycle.Builder extends Object
Lifecycle.with()
,
Lifecycle.newBuilder()
Modifier and Type | Method and Description |
---|---|
Lifecycle |
build() |
Lifecycle.Builder |
id(String id) |
Lifecycle.Builder |
phases(Collection<Phase> phases) |
@Nonnull public Lifecycle.Builder id(String id)
@Nonnull public Lifecycle.Builder phases(Collection<Phase> phases)
@Nonnull public Lifecycle build()
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.