Class ActivityWrapper<T extends WorkflowActivity>

java.lang.Object
io.dapr.workflows.runtime.ActivityWrapper<T>
All Implemented Interfaces:
com.microsoft.durabletask.TaskActivityFactory

public class ActivityWrapper<T extends WorkflowActivity> extends Object implements com.microsoft.durabletask.TaskActivityFactory
Wrapper for Durable Task Framework task activity factory.
  • Constructor Details

    • ActivityWrapper

      public ActivityWrapper(Class<T> clazz)
      Constructor for ActivityWrapper.
      Parameters:
      clazz - Class of the activity to wrap.
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface com.microsoft.durabletask.TaskActivityFactory
    • create

      public com.microsoft.durabletask.TaskActivity create()
      Specified by:
      create in interface com.microsoft.durabletask.TaskActivityFactory