Package cloud.commandframework.tasks
Class TaskFactory
java.lang.Object
cloud.commandframework.tasks.TaskFactory
Factory that produces
recipes-
Constructor Summary
ConstructorsConstructorDescriptionTaskFactory(@NonNull TaskSynchronizer synchronizer) Construct a new task factory -
Method Summary
-
Constructor Details
-
TaskFactory
Construct a new task factory- Parameters:
synchronizer- Synchronizer that will be passed onto the task recipes
-
-
Method Details
-
recipe
Create a newTaskRecipe- Returns:
- New recipe instance
-