Interface AgentJobRequest
- All Superinterfaces:
CommonRequest
- All Known Implementing Classes:
JobRequest
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 ClassesModifier and TypeInterfaceDescriptionstatic class
Builder for a V4 Job Request. -
Method Summary
Modifier and TypeMethodDescriptionGet the command arguments a user has requested be appended to a command executable for their job.The resource criteria that was supplied for the job.Get the metadata a user has supplied for the job including things like name, tags, etc.Get the requested agent configuration.Methods inherited from interface com.netflix.genie.common.internal.dtos.CommonRequest
getRequestedId, getResources
-
Method Details
-
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
-