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

    Modifier and Type
    Method
    Description
    Construct the new bean.
    construct(boolean autoSave)
    Construct the new bean.
    Generate all untouched, changable, values in our bean.
    Construct and save new bean.
  • Method Details

    • 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

      T construct(boolean autoSave)
      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