public abstract class AbstractBuilder<O> extends Object implements Builder<O>
| Constructor and Description |
|---|
AbstractBuilder() |
| Modifier and Type | Method and Description |
|---|---|
O |
build()
Builds the object and returns it or null.
|
protected abstract O |
doBuild()
Subclasses should implement this to perform the build.
|
O |
getObject()
Gets the object that was built.
|
public final O build() throws Exception
Builderpublic final O getObject()
Copyright © 2022. All rights reserved.