Class TaskOrchestrationFactories
java.lang.Object
io.dapr.durabletask.orchestration.TaskOrchestrationFactories
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddOrchestration(TaskOrchestrationFactory factory) Adds a new orchestration factory to the registry.getOrchestrationFactory(String orchestrationName) Gets the orchestration factory for the specified orchestration name.getOrchestrationFactory(String orchestrationName, String versionName) Gets the orchestration factory for the specified orchestration name and version.
-
Constructor Details
-
TaskOrchestrationFactories
public TaskOrchestrationFactories()
-
-
Method Details
-
addOrchestration
Adds a new orchestration factory to the registry.- Parameters:
factory- the factory to add
-
getOrchestrationFactory
Gets the orchestration factory for the specified orchestration name.- Parameters:
orchestrationName- the orchestration name- Returns:
- the orchestration factory
-
getOrchestrationFactory
public TaskOrchestrationFactory getOrchestrationFactory(String orchestrationName, String versionName) Gets the orchestration factory for the specified orchestration name and version.- Parameters:
orchestrationName- the orchestration nameversionName- the version name- Returns:
- the orchestration factory
-