Class JobEnvironmentRequest
java.lang.Object
com.netflix.genie.common.internal.dtos.JobEnvironmentRequest
- All Implemented Interfaces:
Serializable
Fields that allow manipulation of the Genie job execution container environment.
- Since:
- 4.0.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder to create an immutableJobEnvironmentRequestinstance. -
Method Summary
Modifier and TypeMethodDescriptionOptional<com.fasterxml.jackson.databind.JsonNode>getExt()Get the extension variables to the agent configuration as a JSON blob.Get the execution environment the user requested.Get the environment variables requested by the user to be added to the job runtime.Get the requested image metadata the user entered.
-
Method Details
-
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
Get the extension variables to the agent configuration as a JSON blob.- Returns:
- The extension variables wrapped in an
Optional
-
getRequestedComputeResources
Get the execution environment the user requested.- Returns:
- The
ComputeResourcesthat were requested orOptional.empty()
-
getRequestedImages
Get the requested image metadata the user entered.- Returns:
- The
Imagedata in an immutable map.
-