public class ConstructionPlan<T> extends Object implements ObjectCreator<T>
InitializationPlan
s 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()
ObjectCreator
createObject
in interface ObjectCreator<T>
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.