Interface AgentJobRequest
-
- All Superinterfaces:
CommonRequest
- All Known Implementing Classes:
JobRequest
public interface AgentJobRequest extends CommonRequest
The builder and methods available for a request generated by a Genie agent typically from the command arguments.- Since:
- 4.0.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
AgentJobRequest.Builder
Builder for a V4 Job Request.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<java.lang.String>
getCommandArgs()
Get the command arguments a user has requested be appended to a command executable for their job.ExecutionResourceCriteria
getCriteria()
The resource criteria that was supplied for the job.JobMetadata
getMetadata()
Get the metadata a user has supplied for the job including things like name, tags, etc.AgentConfigRequest
getRequestedAgentConfig()
Get the requested agent configuration.-
Methods inherited from interface com.netflix.genie.common.external.dtos.v4.CommonRequest
getRequestedId, getResources
-
-
-
-
Method Detail
-
getCommandArgs
java.util.List<java.lang.String> getCommandArgs()
Get the command arguments a user has requested be appended to a command executable for their job.- Returns:
- The command arguments as an immutable list. Any attempt to modify will throw exception
-
getMetadata
JobMetadata getMetadata()
Get the metadata a user has supplied for the job including things like name, tags, etc.- Returns:
- The metadata
-
getCriteria
ExecutionResourceCriteria getCriteria()
The resource criteria that was supplied for the job.- Returns:
- The criteria used to select the cluster, command and optionally applications for the job
-
getRequestedAgentConfig
AgentConfigRequest getRequestedAgentConfig()
Get the requested agent configuration.- Returns:
- The requested agent configuration parameters
-
-