Package com.netflix.genie.common.dto
Class JobRequest
java.lang.Object
com.netflix.genie.common.dto.BaseDTO
com.netflix.genie.common.dto.CommonDTO
com.netflix.genie.common.dto.ExecutionEnvironmentDTO
com.netflix.genie.common.dto.JobRequest
- All Implemented Interfaces:
- Serializable
All information needed to make a request to run a new job.
- Since:
- 3.0.0
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classA builder to create job requests.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intThe default number of seconds from start before a job times out.
- 
Method SummaryModifier and TypeMethodDescriptionGet the arguments to be put on the command line along with the command executable.getCpu()Deprecated.Use runtime insteadgetEmail()Get the email for the user.getGroup()Get the group the user should be a member of.Get the grouping for this job if there currently is one.Get the grouping instance for this job if there currently is one.Deprecated.Use runtime insteadGet the amount of time requested (in seconds) before this job is timed out on the server.Methods inherited from class com.netflix.genie.common.dto.ExecutionEnvironmentDTOgetSetupFileMethods inherited from class com.netflix.genie.common.dto.CommonDTOgetDescription, getMetadataMethods inherited from class com.netflix.genie.common.dto.BaseDTOgetCreated, getId, getUpdated, toString
- 
Field Details- 
DEFAULT_TIMEOUT_DURATIONpublic static final int DEFAULT_TIMEOUT_DURATIONThe default number of seconds from start before a job times out.- See Also:
 
 
- 
- 
Method Details- 
getCommandArgsGet the arguments to be put on the command line along with the command executable.- Returns:
- The command arguments
 
- 
getGroupGet the group the user should be a member of.- Returns:
- The group as an optional
 
- 
getEmailGet the email for the user.- Returns:
- The email address as an Optional
 
- 
getCpuDeprecated.Use runtime insteadGet the number of CPU's requested to run this job.- Returns:
- The number of CPU's as an Optional
- Since:
- 4.3.0
 
- 
getMemoryDeprecated.Use runtime insteadGet the amount of memory (in MB) requested to run this job with.- Returns:
- The amount of memory as an Optional
- Since:
- 4.3.0
 
- 
getTimeoutGet the amount of time requested (in seconds) before this job is timed out on the server.- Returns:
- The timeout as an Optional
 
- 
getGroupingGet the grouping for this job if there currently is one.- Returns:
- The grouping
- Since:
- 3.3.0
 
- 
getGroupingInstanceGet the grouping instance for this job if there currently is one.- Returns:
- The grouping instance
- Since:
- 3.3.0
 
 
-