Class JobEnvironment

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

public class JobEnvironment extends Object implements Serializable
Final values for settings of the Genie job execution environment.
Since:
4.0.0
See Also:
  • Method Details

    • getEnvironmentVariables

      public Map<String,String> getEnvironmentVariables()
      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
    • getComputeResources

      public ComputeResources getComputeResources()
      Get the computation resources for the job if any were defined.
      Returns:
      The ComputeResources
    • getImages

      public Map<String,Image> getImages()
      Get the images for the job if any were defined.
      Returns:
      The Image