Skip to content

UserTaskFactory

Creates a UserTask for an AppTask, based on AppTask.type.

Packages that add app task types (e.g., surveys) implement one and register it with AppTaskController.registerUserTaskFactory.

Implementers

Constructors

UserTaskFactory

UserTaskFactory()

Properties

types

List<String> types
getter/setter pair

The AppTask.types this factory supports.

Methods

create

UserTask create(
  1. AppTaskExecutor<AppTask> executor
)

Create a UserTask that wraps executor.