public class CommandRequest
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
CommandRequest.Builder
Builder for a V4 Command Request.
|
Modifier and Type | Method and Description |
---|---|
java.util.Optional<java.lang.Long> |
getCheckDelay()
Get the requested amount of time (in milliseconds) between checks of job status for jobs run using this command.
|
java.util.List<java.lang.String> |
getExecutable()
Get the executable elements (generally a binary followed optionally by default arguments) that should be used
with this command when executing a job.
|
java.util.Optional<java.lang.Integer> |
getMemory()
Get the default amount of memory (in MB) to use for jobs which use this command.
|
java.util.Optional<java.lang.String> |
getRequestedId()
Get the ID the user has requested for this resource if one was added.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getResources
public java.util.Optional<java.lang.Integer> getMemory()
Optional
wrapper of the amount of memory to use for a jobpublic java.util.Optional<java.lang.Long> getCheckDelay()
Optional
public java.util.List<java.lang.String> getExecutable()
public java.util.Optional<java.lang.String> getRequestedId()
getRequestedId
in interface CommonRequest
Optional