
com.microsoft.azure.functions.ExecutionContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-functions-java-library Show documentation
Show all versions of azure-functions-java-library Show documentation
This package contains all Java interfaces and annotations to interact with Microsoft Azure functions runtime.
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