Package nl._42.beanie
Interface BeanBuildCommand<T>
- All Known Subinterfaces:
EditableBeanBuildCommand<T>
public interface BeanBuildCommand<T>
Command for building beans.
- Since:
- Feb 14, 2014
- Author:
- Jeroen van Schagen
-
Method Summary
-
Method Details
-
fill
BeanBuildCommand<T> fill()Generate all untouched, changable, values in our bean.- Returns:
- this instance, for chaining
-
construct
T construct()Construct the new bean.- Returns:
- the constructed bean
-
construct
Construct the new bean.- Parameters:
autoSave
- whether to auto save- Returns:
- the constructed instance
-
save
T save()Construct and save new bean.- Returns:
- the saved bean
-