Class TaskFactory


  • public final class TaskFactory
    extends java.lang.Object
    Factory that produces recipes
    • Constructor Summary

      Constructors 
      Constructor Description
      TaskFactory​(@NonNull TaskSynchronizer synchronizer)
      Construct a new task factory
    • Method Summary

      Modifier and Type Method Description
      @NonNull TaskRecipe recipe()
      Create a new TaskRecipe
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TaskFactory

        public TaskFactory​(@NonNull TaskSynchronizer synchronizer)
        Construct a new task factory
        Parameters:
        synchronizer - Synchronizer that will be passed onto the task recipes
    • Method Detail