Class JobEnvironment
java.lang.Object
com.netflix.genie.common.internal.dtos.JobEnvironment
- All Implemented Interfaces:
Serializable
Final values for settings of the Genie job execution environment.
- Since:
- 4.0.0
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder to create an immutableJobEnvironment
instance. -
Method Summary
Modifier and TypeMethodDescriptionGet the computation resources for the job if any were defined.Get the environment variables requested by the user to be added to the job runtime.Optional<com.fasterxml.jackson.databind.JsonNode>
getExt()
Get the extension variables to the agent configuration as a JSON blob.Get the images for the job if any were defined.
-
Method Details
-
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
Get the extension variables to the agent configuration as a JSON blob.- Returns:
- The extension variables wrapped in an
Optional
-
getComputeResources
Get the computation resources for the job if any were defined.- Returns:
- The
ComputeResources
-
getImages
Get the images for the job if any were defined.- Returns:
- The
Image
-