Class JobEnvironment
- java.lang.Object
-
- com.netflix.genie.common.external.dtos.v4.JobEnvironment
-
- All Implemented Interfaces:
java.io.Serializable
public class JobEnvironment extends java.lang.Object implements java.io.Serializable
Final values for settings of the Genie job execution environment.- Since:
- 4.0.0
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JobEnvironment.Builder
Builder to create an immutableJobEnvironment
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>
getEnvironmentVariables()
Get the environment variables requested by the user to be added to the job runtime.java.util.Optional<com.fasterxml.jackson.databind.JsonNode>
getExt()
Get the extension variables to the agent configuration as a JSON blob.
-
-
-
Method Detail
-
getEnvironmentVariables
public java.util.Map<java.lang.String,java.lang.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 java.util.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
-
-