Interface IRecipeStorageFactory

All Superinterfaces:
IFactory<IToken<?>,RecipeStorage>
All Known Implementing Classes:
RecipeStorageFactory

public interface IRecipeStorageFactory extends IFactory<IToken<?>,RecipeStorage>
Interface for the IRecipeStorageFactory which is responsible for creating and maintaining RecipeStorage objects.
  • Method Details

    • getNewInstance

      @NotNull default @NotNull RecipeStorage getNewInstance(@NotNull @NotNull IFactoryController factoryController, @NotNull @NotNull IToken<?> token, @NotNull @NotNull Object... context)
      Description copied from interface: IFactory
      Method to get a new instance of the output given the input and additional context data.
      Specified by:
      getNewInstance in interface IFactory<IToken<?>,RecipeStorage>
      Parameters:
      factoryController - The controller calling this factory method.
      token - The input to build a new output for.
      context - The context of the request.
      Returns:
      The new output instance for a given input.