Module com.azure.runtime.host
Class EnvironmentCallbackContext
java.lang.Object
com.azure.runtime.host.resources.annotations.EnvironmentCallbackContext
Represents a callback context for environment variables associated with a publisher.
-
Constructor Summary
ConstructorDescriptionEnvironmentCallbackContext
(Map<String, Object> environmentVariables) Initializes a new instance of the EnvironmentCallbackContext class. -
Method Summary
Modifier and TypeMethodDescriptionGets the environment variables associated with the callback context.
-
Constructor Details
-
EnvironmentCallbackContext
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
Gets the environment variables associated with the callback context.- Returns:
- The environment variables.
-