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

com.microsoft.azure.functions.ExecutionContext Maven / Gradle / Ivy

Go to download

This package contains all Java interfaces and annotations to interact with Microsoft Azure functions runtime.

There is a newer version: 3.1.0
Show newest version
package com.microsoft.azure.functions;

import java.util.logging.Logger;

/**
 * The execution context enables interaction with the Azure Functions execution environment.
 *
 * @since 1.0.0
 */
public interface ExecutionContext {
    /**
     * Returns the built-in logger, which is integrated with the logging functionality provided in the Azure Functions
     * portal, as well as in Azure Application Insights.
     *
     * @return A Java logger that will see output directed to Azure Portal, as well as any other configured output
     *      locations.
     */
    Logger getLogger();

    /**
     * Returns the invocation ID for the function call.
     * @return the invocation ID for the function call.
     */
    String getInvocationId();

    /**
     * Returns the function name.
     * @return the function name.
     */
    String getFunctionName();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy