@Entity public class JobEntity extends BaseEntity implements JobProjection, JobRequestProjection, JobMetadataProjection, JobExecutionProjection, JobApplicationsProjection, JobClusterProjection, JobCommandProjection, JobSearchProjection
| Constructor and Description | 
|---|
| JobEntity()Default Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object o) | 
| java.util.Optional<java.lang.String> | getArchiveLocation()Get location where logs are archived. | 
| java.util.Optional<java.lang.Long> | getCheckDelay()Get the amount of time (in milliseconds) to delay the check for the job status. | 
| java.util.Optional<java.lang.String> | getClientHost()Get the client host. | 
| java.util.Optional<ClusterEntity> | getCluster()Get the cluster that is running or did run this job. | 
| java.util.Optional<java.lang.String> | getClusterName()Gets the name of the cluster on which this job was run. | 
| java.util.Optional<CommandEntity> | getCommand()Get the command that is executing this job. | 
| java.util.Optional<CriterionEntity> | getCommandCriterion()Get the command criterion if one exists. | 
| java.util.Optional<java.lang.String> | getCommandName()Gets the command name for this job. | 
| java.util.Optional<java.lang.Integer> | getCpuRequested()Get the number of CPU's requested to run this job. | 
| java.util.Optional<java.lang.String> | getEmail()Get the email of the user associated with this job if they desire an email notification at completion
 of the job. | 
| java.util.Optional<java.lang.Integer> | getExitCode()Get the exit code from the process that ran the job. | 
| java.util.Optional<java.util.Date> | getFinished()Gets the finish time for this job. | 
| java.util.Optional<java.lang.String> | getGenieUserGroup()Get the user group for this job. | 
| java.util.Optional<java.lang.String> | getGrouping()Get the grouping this job is a part of. | 
| java.util.Optional<java.lang.String> | getGroupingInstance()Get the instance identifier of a grouping. | 
| java.util.Optional<java.lang.Integer> | getMemoryRequested()Get the memory requested to run this job with. | 
| java.util.Optional<java.lang.Integer> | getMemoryUsed()Get the amount of memory (in MB) that this job is/was run with. | 
| java.util.Optional<java.lang.Integer> | getNumAttachments()Get the number of attachments. | 
| java.util.Optional<java.lang.Integer> | getProcessId()Get the process id of the job. | 
| java.util.Optional<java.util.Date> | getStarted()Gets the start time for this job. | 
| java.util.Optional<java.lang.String> | getStatusMsg()Gets the status message or this job. | 
| java.util.Optional<java.lang.Long> | getStdErrSize()Get the size of standard error for this job. | 
| java.util.Optional<java.lang.Long> | getStdOutSize()Get the size of standard out for this job. | 
| java.util.Optional<java.util.Date> | getTimeout()Get the date this job will be killed due to exceeding its set timeout duration. | 
| java.util.Optional<java.lang.Integer> | getTimeoutRequested()Get the timeout (in seconds) requested by the user for this job. | 
| java.util.Optional<java.lang.Long> | getTotalSizeOfAttachments()Get the total size of the attachments. | 
| java.util.Optional<java.lang.String> | getUserAgent()Get the user agent. | 
| int | hashCode() | 
| void | setApplications(java.util.List<ApplicationEntity> applications)Set the applications used to run this job. | 
| void | setCluster(ClusterEntity cluster)Set the cluster this job ran on. | 
| void | setClusterCriteria(java.util.List<CriterionEntity> clusterCriteria)Set the cluster criteria set for this job. | 
| void | setCommand(CommandEntity command)Set the command used to run this job. | 
| void | setCommandArgs(java.util.List<java.lang.String> commandArgs)Set the command arguments to use with this job. | 
| void | setCommandCriterion(CriterionEntity commandCriterion)Set the command criterion. | 
| void | setConfigs(java.util.Set<FileEntity> configs)Set all the files associated as configuration files for this job. | 
| void | setDependencies(java.util.Set<FileEntity> dependencies)Set all the files associated as dependency files for this job. | 
| void | setFinished(java.util.Date finished)Set the finishTime for the job. | 
| void | setStarted(java.util.Date started)Set the startTime for the job. | 
| void | setStdErrSize(java.lang.Long stdErrSize)Set the total size in bytes of the std err file for this job. | 
| void | setStdOutSize(java.lang.Long stdOutSize)Set the total size in bytes of the std out file for this job. | 
| void | setTags(java.util.Set<TagEntity> tags)Set all the tags associated to this job. | 
| void | setTimeout(java.util.Date timeout)Set the date this job will be killed due to exceeding its set timeout duration. | 
getDescription, getMetadata, getSetupFile, setDescription, setMetadata, setSetupFilegetCreated, getUpdated, onCreateBaseEntity, onUpdateBaseEntityclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetApplicationsgetApplicationsRequested, getClusterCriteria, getConfigs, getDependencies, isDisableLogArchivalgetCommandArgs, getTagsgetDescription, getMetadata, getName, getUniqueId, getUser, getVersiongetCreated, getUpdatedgetIdgetSetupFilegetUniqueIdgetUniqueIdgetHostNamegetApplicationsgetName, getUniqueId, getUsergetStatuspublic java.util.Optional<java.lang.String> getGenieUserGroup()
getGenieUserGroup in interface JobRequestProjectionpublic java.util.Optional<CriterionEntity> getCommandCriterion()
getCommandCriterion in interface JobRequestProjectionpublic java.util.Optional<java.lang.String> getEmail()
getEmail in interface JobRequestProjectionpublic java.util.Optional<java.lang.Integer> getCpuRequested()
getCpuRequested in interface JobRequestProjectionpublic java.util.Optional<java.lang.Integer> getMemoryRequested()
getMemoryRequested in interface JobRequestProjectionpublic java.util.Optional<java.lang.Integer> getTimeoutRequested()
getTimeoutRequested in interface JobRequestProjectionpublic void setCommandCriterion(@Nullable
                                CriterionEntity commandCriterion)
commandCriterion - The criterion. Null clears reference.public java.util.Optional<java.lang.String> getGrouping()
getGrouping in interface JobCommonFieldsProjectionpublic java.util.Optional<java.lang.String> getGroupingInstance()
getGroupingInstance in interface JobCommonFieldsProjectionpublic java.util.Optional<java.lang.String> getClientHost()
getClientHost in interface JobMetadataProjectionpublic java.util.Optional<java.lang.String> getUserAgent()
getUserAgent in interface JobMetadataProjectionpublic java.util.Optional<java.lang.Integer> getNumAttachments()
getNumAttachments in interface JobMetadataProjectionpublic java.util.Optional<java.lang.Long> getTotalSizeOfAttachments()
getTotalSizeOfAttachments in interface JobMetadataProjectionpublic java.util.Optional<java.lang.Long> getStdOutSize()
getStdOutSize in interface JobMetadataProjectionpublic java.util.Optional<java.lang.Long> getStdErrSize()
getStdErrSize in interface JobMetadataProjectionpublic void setStdErrSize(@Nullable
                          java.lang.Long stdErrSize)
stdErrSize - The size. Null empties database fieldpublic void setStdOutSize(@Nullable
                          java.lang.Long stdOutSize)
stdOutSize - The size. Null empties database fieldpublic java.util.Optional<java.lang.String> getStatusMsg()
getStatusMsg in interface JobProjectionpublic java.util.Optional<java.util.Date> getStarted()
getStarted in interface JobProjectiongetStarted in interface JobSearchProjectionpublic void setStarted(@Nullable
                       java.util.Date started)
started - epoch time as java.util.Date or nullpublic java.util.Optional<java.util.Date> getFinished()
getFinished in interface JobProjectiongetFinished in interface JobSearchProjectionpublic void setFinished(@Nullable
                        java.util.Date finished)
finished - The finished time.public java.util.Optional<java.lang.String> getArchiveLocation()
getArchiveLocation in interface JobProjectionpublic java.util.Optional<java.lang.String> getClusterName()
getClusterName in interface JobProjectiongetClusterName in interface JobSearchProjectionpublic java.util.Optional<java.lang.String> getCommandName()
getCommandName in interface JobProjectiongetCommandName in interface JobSearchProjectionpublic java.util.Optional<java.lang.Integer> getProcessId()
getProcessId in interface JobExecutionProjectionpublic java.util.Optional<java.lang.Long> getCheckDelay()
getCheckDelay in interface JobExecutionProjectionpublic java.util.Optional<java.lang.Integer> getExitCode()
getExitCode in interface JobExecutionProjectionpublic java.util.Optional<java.lang.Integer> getMemoryUsed()
getMemoryUsed in interface JobExecutionProjectionpublic java.util.Optional<java.util.Date> getTimeout()
getTimeout in interface JobExecutionProjectionpublic void setTimeout(@Nullable
                       java.util.Date timeout)
timeout - The new timeoutpublic void setCommandArgs(@Nullable
                           java.util.List<java.lang.String> commandArgs)
commandArgs - The command arguments to usepublic void setConfigs(@Nullable
                       java.util.Set<FileEntity> configs)
configs - The configuration files to setpublic void setDependencies(@Nullable
                            java.util.Set<FileEntity> dependencies)
dependencies - The dependency files to setpublic void setTags(@Nullable
                    java.util.Set<TagEntity> tags)
tags - The tags to setpublic java.util.Optional<ClusterEntity> getCluster()
getCluster in interface JobClusterProjectionpublic void setCluster(@Nullable
                       ClusterEntity cluster)
cluster - The cluster this job ran onpublic java.util.Optional<CommandEntity> getCommand()
getCommand in interface JobCommandProjectionpublic void setCommand(@Nullable
                       CommandEntity command)
command - The commandpublic void setApplications(@Nullable
                            java.util.List<ApplicationEntity> applications)
applications - The applicationspublic void setClusterCriteria(@Nullable
                               java.util.List<CriterionEntity> clusterCriteria)
clusterCriteria - The cluster criteria in priority orderpublic boolean equals(java.lang.Object o)
equals in class AuditEntitypublic int hashCode()
hashCode in class AuditEntity