Class EnvironmentCallbackContext

java.lang.Object
com.azure.runtime.host.resources.annotations.EnvironmentCallbackContext

public class EnvironmentCallbackContext extends Object
Represents a callback context for environment variables associated with a publisher.
  • Constructor Details

    • EnvironmentCallbackContext

      public EnvironmentCallbackContext(Map<String,Object> environmentVariables)
      Initializes a new instance of the EnvironmentCallbackContext class.
      Parameters:
      environmentVariables - The environment variables associated with this execution. It's optional and defaults to an empty map.
  • Method Details

    • getEnvironmentVariables

      public Map<String,Object> getEnvironmentVariables()
      Gets the environment variables associated with the callback context.
      Returns:
      The environment variables.