Class JobEnvironmentRequest

java.lang.Object
com.netflix.genie.common.internal.dtos.JobEnvironmentRequest
All Implemented Interfaces:
Serializable

public class JobEnvironmentRequest extends Object implements Serializable
Fields that allow manipulation of the Genie job execution container environment.
Since:
4.0.0
See Also:
  • Method Details

    • getRequestedEnvironmentVariables

      public Map<String,String> getRequestedEnvironmentVariables()
      Get the environment variables requested by the user to be added to the job runtime.
      Returns:
      The environment variables backed by an immutable map. Any attempt to modify with throw exception
    • getExt

      public Optional<com.fasterxml.jackson.databind.JsonNode> getExt()
      Get the extension variables to the agent configuration as a JSON blob.
      Returns:
      The extension variables wrapped in an Optional
    • getRequestedComputeResources

      public ComputeResources getRequestedComputeResources()
      Get the execution environment the user requested.
      Returns:
      The ComputeResources that were requested or Optional.empty()
    • getRequestedImages

      public Map<String,Image> getRequestedImages()
      Get the requested image metadata the user entered.
      Returns:
      The Image data in an immutable map.