public class ConstructionPlan<T> extends Object implements ObjectCreator<T>
InitializationPlans to initialize fields and invoke other methods of the constructed object.| Constructor and Description |
|---|
ConstructionPlan(OperationTracker tracker,
String description,
Invokable<T> instanceConstructor) |
| Modifier and Type | Method and Description |
|---|---|
ConstructionPlan |
add(InitializationPlan plan) |
T |
createObject()
Create and return the object.
|
public ConstructionPlan(OperationTracker tracker, String description, Invokable<T> instanceConstructor)
public ConstructionPlan add(InitializationPlan plan)
public T createObject()
ObjectCreatorcreateObject in interface ObjectCreator<T>5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.