Class AgentConfigRequest
- java.lang.Object
-
- com.netflix.genie.common.external.dtos.v4.AgentConfigRequest
-
- All Implemented Interfaces:
java.io.Serializable
public class AgentConfigRequest extends java.lang.Object implements java.io.Serializable
Configuration options for the Genie agent.- Since:
- 4.0.0
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AgentConfigRequest.Builder
Builder to create an immutableAgentConfigRequest
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<com.fasterxml.jackson.databind.JsonNode>
getExt()
Get the extension variables to the agent configuration as a JSON blob.java.util.Optional<java.io.File>
getRequestedJobDirectoryLocation()
Get the location where the Agent should place the job directory when it runs.java.util.Optional<java.lang.Integer>
getTimeoutRequested()
Get the amount of time (in seconds) after the job starts that the agent should timeout and kill the job.
-
-
-
Method Detail
-
getTimeoutRequested
public java.util.Optional<java.lang.Integer> getTimeoutRequested()
Get the amount of time (in seconds) after the job starts that the agent should timeout and kill the job.- Returns:
- The time in seconds if one was requested wrapped in an
Optional
-
getRequestedJobDirectoryLocation
public java.util.Optional<java.io.File> getRequestedJobDirectoryLocation()
Get the location where the Agent should place the job directory when it runs.- Returns:
- The directory location wrapped in an
Optional
-
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
-
-