All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.durabletask.TaskActivityFactory Maven / Gradle / Ivy

Go to download

This package contains classes and interfaces for building Durable Task orchestrations in Java.

There is a newer version: 1.5.0
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.microsoft.durabletask;

/**
 * Factory interface for producing {@link TaskActivity} implementations.
 */
public interface TaskActivityFactory {
    /**
     * Gets the name of the activity this factory creates.
     * @return the name of the activity
     */
    String getName();

    /**
     * Creates a new instance of {@link TaskActivity}
     * @return the created activity instance
     */
    TaskActivity create();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy