Package com.adobe.reef.siren.builder
Class Builder<T>
- java.lang.Object
 - 
- com.adobe.reef.siren.builder.Builder<T>
 
 
- 
- Type Parameters:
 T-
- Direct Known Subclasses:
 ActionBuilder,EntityBuilder,FieldBuilder,LinkBuilder
public abstract class Builder<T> extends java.lang.ObjectBuilderis 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 Summary
Constructors Constructor Description Builder() 
- 
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Tbuild()Builds the instanceTafter validating the values.abstract Builder<T>clear()Resets all fields to their default values. 
 - 
 
- 
- 
Method Detail
- 
build
public T build() throws BuilderException
Builds the instanceTafter validating the values.- Returns:
 - Throws:
 BuilderException- if something goes wrong during build
 
 - 
 
 -