com.microsoft.durabletask.TaskOrchestrationFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of durabletask-client Show documentation
Show all versions of durabletask-client Show documentation
This package contains classes and interfaces for building Durable Task orchestrations in Java.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.microsoft.durabletask;
/**
* Factory interface for producing {@link TaskOrchestration} implementations.
*/
public interface TaskOrchestrationFactory {
/**
* Gets the name of the orchestration this factory creates.
* @return the name of the orchestration
*/
String getName();
/**
* Creates a new instance of {@link TaskOrchestration}
* @return the created orchestration instance
*/
TaskOrchestration create();
}