Package io.dapr.durabletask
Interface TaskActivityFactory
public interface TaskActivityFactory
Factory interface for producing
TaskActivity implementations.-
Method Summary
Modifier and TypeMethodDescriptioncreate()Creates a new instance ofTaskActivity.getName()Gets the name of the activity this factory creates.
-
Method Details
-
getName
String getName()Gets the name of the activity this factory creates.- Returns:
- the name of the activity
-
create
TaskActivity create()Creates a new instance ofTaskActivity.- Returns:
- the created activity instance
-