Class LifecycleComponentStack.Builder
- java.lang.Object
-
- org.apache.bookkeeper.common.component.LifecycleComponentStack.Builder
-
- Enclosing class:
- LifecycleComponentStack
public static class LifecycleComponentStack.Builder extends java.lang.Object
Builder to build a stack ofLifecycleComponent
s.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LifecycleComponentStack.Builder
addComponent(LifecycleComponent component)
LifecycleComponentStack
build()
LifecycleComponentStack.Builder
withComponentInfoPublisher(ComponentInfoPublisher componentInfoPublisher)
LifecycleComponentStack.Builder
withName(java.lang.String name)
-
-
-
Method Detail
-
withComponentInfoPublisher
public LifecycleComponentStack.Builder withComponentInfoPublisher(ComponentInfoPublisher componentInfoPublisher)
-
addComponent
public LifecycleComponentStack.Builder addComponent(LifecycleComponent component)
-
withName
public LifecycleComponentStack.Builder withName(java.lang.String name)
-
build
public LifecycleComponentStack build()
-
-