# Uses of Class
io.dapr.workflows.runtime.WorkflowRuntimeBuilder

Packages that use WorkflowRuntimeBuilder
Package
Description
io.dapr.workflows.runtime

- ## Uses of WorkflowRuntimeBuilder in io.dapr.workflows.runtime

  Methods in io.dapr.workflows.runtime that return WorkflowRuntimeBuilder
  Modifier and Type
  Method
  Description
  `<T extends WorkflowActivity>
  WorkflowRuntimeBuilder`
  WorkflowRuntimeBuilder.`registerActivity(Class<T> clazz)`
  Registers an Activity object.
  `<T extends WorkflowActivity>
  WorkflowRuntimeBuilder`
  WorkflowRuntimeBuilder.`registerActivity(String name, Class<T> clazz)`
  Registers an Activity object.
  `<T extends WorkflowActivity>
  WorkflowRuntimeBuilder`
  WorkflowRuntimeBuilder.`registerActivity(String name, T instance)`
  Registers an Activity object.
  `<T extends WorkflowActivity>
  WorkflowRuntimeBuilder`
  WorkflowRuntimeBuilder.`registerActivity(T instance)`
  Registers an Activity object.
  `WorkflowRuntimeBuilder`
  WorkflowRuntimeBuilder.`registerTaskActivityFactory(String activityName, io.dapr.durabletask.TaskActivityFactory taskActivityFactory)`
  Registers a Task Activity using a `TaskActivityFactory`.
  `WorkflowRuntimeBuilder`
  WorkflowRuntimeBuilder.`registerTaskOrchestrationFactory(String orchestrationName, io.dapr.durabletask.orchestration.TaskOrchestrationFactory taskOrchestrationFactory)`
  Registers a Task Orchestration using a `TaskOrchestrationFactory`.
  `<T extends Workflow>
  WorkflowRuntimeBuilder`
  WorkflowRuntimeBuilder.`registerWorkflow(Class<T> clazz)`
  Registers a Workflow object.
  `<T extends Workflow>
  WorkflowRuntimeBuilder`
  WorkflowRuntimeBuilder.`registerWorkflow(String name, Class<T> clazz)`
  Registers a Workflow object.
  `<T extends Workflow>
  WorkflowRuntimeBuilder`
  WorkflowRuntimeBuilder.`registerWorkflow(String name, Class<T> clazz, String versionName, Boolean isLatestVersion)`
  Registers a Workflow object.
  `<T extends Workflow>
  WorkflowRuntimeBuilder`
  WorkflowRuntimeBuilder.`registerWorkflow(String name, T instance, String versionName, Boolean isLatestVersion)`
  Registers a Workflow object.
  `<T extends Workflow>
  WorkflowRuntimeBuilder`
  WorkflowRuntimeBuilder.`registerWorkflow(T instance)`
  Registers a Workflow object.
  `WorkflowRuntimeBuilder`
  WorkflowRuntimeBuilder.`withExecutorService(ExecutorService executorService)`
  Register Executor Service to use with workflow.