public class JobRequest extends ExecutionEnvironmentDTO
Modifier and Type | Class and Description |
---|---|
static class |
JobRequest.Builder
A builder to create job requests.
|
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_TIMEOUT_DURATION
The default number of seconds from start before a job times out.
|
Modifier and Type | Method and Description |
---|---|
java.util.Optional<java.lang.String> |
getCommandArgs()
Get the arguments to be put on the command line along with the command executable.
|
java.util.Optional<java.lang.Integer> |
getCpu()
Get the number of CPU's requested to run this job.
|
java.util.Optional<java.lang.String> |
getEmail()
Get the email for the user.
|
java.util.Optional<java.lang.String> |
getGroup()
Get the group the user should be a member of.
|
java.util.Optional<java.lang.String> |
getGrouping()
Get the grouping for this job if there currently is one.
|
java.util.Optional<java.lang.String> |
getGroupingInstance()
Get the grouping instance for this job if there currently is one.
|
java.util.Optional<java.lang.Integer> |
getMemory()
Get the amount of memory (in MB) requested to run this job with.
|
java.util.Optional<java.lang.Integer> |
getTimeout()
Get the amount of time requested (in seconds) before this job is timed out on the server.
|
getSetupFile
getDescription, getMetadata
getCreated, getId, getUpdated, toString
public static final int DEFAULT_TIMEOUT_DURATION
public java.util.Optional<java.lang.String> getCommandArgs()
public java.util.Optional<java.lang.String> getGroup()
public java.util.Optional<java.lang.String> getEmail()
public java.util.Optional<java.lang.Integer> getCpu()
public java.util.Optional<java.lang.Integer> getMemory()
public java.util.Optional<java.lang.Integer> getTimeout()
public java.util.Optional<java.lang.String> getGrouping()
public java.util.Optional<java.lang.String> getGroupingInstance()