T
- public abstract class Builder<T>
extends java.lang.Object
Builder
is used to build instances of <T>
from values
configured by the setters.
Builders can be reused, clear()
resets all fields to their default values.
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
T |
build()
Builds the instance
T after validating the values. |
abstract Builder<T> |
clear()
Resets all fields to their default values.
|
public T build() throws BuilderException
T
after validating the values.BuilderException
- if something goes wrong during buildCopyright © 2010 - 2020 Adobe. All Rights Reserved