Class DefaultExecutionContext

java.lang.Object
io.micronaut.azure.function.http.DefaultExecutionContext
All Implemented Interfaces:
com.microsoft.azure.functions.ExecutionContext

@Internal public class DefaultExecutionContext extends Object implements com.microsoft.azure.functions.ExecutionContext
Default execution context impl. used for testing.
Since:
5.0.0
Author:
Sergio del Amo
  • Constructor Details

    • DefaultExecutionContext

      public DefaultExecutionContext()
  • Method Details

    • getLogger

      public Logger getLogger()
      Specified by:
      getLogger in interface com.microsoft.azure.functions.ExecutionContext
    • getInvocationId

      public String getInvocationId()
      Specified by:
      getInvocationId in interface com.microsoft.azure.functions.ExecutionContext
    • getFunctionName

      public String getFunctionName()
      Specified by:
      getFunctionName in interface com.microsoft.azure.functions.ExecutionContext
    • getTraceContext

      public com.microsoft.azure.functions.TraceContext getTraceContext()
      Specified by:
      getTraceContext in interface com.microsoft.azure.functions.ExecutionContext