Package com.netflix.genie.common.dto
Class Command
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.Command
- All Implemented Interfaces:
Serializable
A command data transfer object. After creation, it is read-only.
- Since:
- 3.0.0
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final long
The default amount of time to wait between job process checks. -
Constructor Summary
ModifierConstructorDescriptionprotected
Command
(@Valid Command.Builder builder) Constructor used by the builder. -
Method Summary
Methods inherited from class com.netflix.genie.common.dto.ExecutionEnvironmentDTO
getSetupFile
Methods inherited from class com.netflix.genie.common.dto.CommonDTO
getDescription, getMetadata
Methods inherited from class com.netflix.genie.common.dto.BaseDTO
getCreated, getId, getUpdated, toString
-
Field Details
-
DEFAULT_CHECK_DELAY
public static final long DEFAULT_CHECK_DELAYThe default amount of time to wait between job process checks.- See Also:
-
-
Constructor Details
-
Command
Constructor used by the builder.- Parameters:
builder
- The builder to get data from
-
-
Method Details
-
getMemory
Deprecated.Use runtime insteadGet the default amount of memory (in MB) to use for jobs which use this command.- Returns:
- Optional of the amount of memory as it could be null if none set
-