public class JobStateImpl extends JobState
ASC_ORDER, DESC_ORDER, FINISHED_RANK, PENDING_RANK, RUNNING_RANK, SORT_BY_DESCRIPTION, SORT_BY_ID, SORT_BY_NAME, SORT_BY_OWNER, SORT_BY_PRIORITY, SORT_BY_PROJECT, SORT_BY_STATUS, SORT_BY_TYPE
bucketName, description, globalGenericInformation, globalSpace, globalVariables, inputSpace, JOB_DDL, JOB_EXEC_TIME, label, name, outputSpace, priority, projectName, startAt, submissionMode, unresolvedVariables, userSpace, variables, visualization, workflowTags
DEFAULT_TASK_RETRY_DELAY, GENERIC_INFO_START_AT_KEY, genericInformation, maxNumberOfExecution, onTaskError, restartTaskOnError, taskRetryDelay, unresolvedGenericInformation
Modifier and Type | Method and Description |
---|---|
String |
getDomain()
To get the domain name of the job.
|
Map<TaskId,TaskState> |
getHMTasks()
To get the tasks as a hash map.
|
JobInfo |
getJobInfo()
To get the jobInfo of this job.
|
JobStateData |
getJobStateData() |
String |
getName()
To get the name of the job.
|
String |
getOwner()
To get the owner of the job.
|
JobPriority |
getPriority()
To get the priority of the job.
|
List<TaskState> |
getTasks()
To get the tasks as an array list.
|
List<TaskState> |
getTasksByTag(String tag)
To get the task as an array list and filtered by a given tag.
|
String |
getTenant()
To get the tenant of the job owner.
|
JobType |
getType()
To get the type of this job
|
void |
update(JobInfo jobInfo)
To update the content of this job with a jobInfo.
|
void |
update(TaskInfo taskInfo)
Set the jobInfo contained in the TaskInfo to this job.
|
compareTo, equals, getCumulatedCoreTime, getFinishedTime, getId, getInErrorTime, getNumberOfFailedTasks, getNumberOfFaultyTasks, getNumberOfFinishedTasks, getNumberOfInErrorTasks, getNumberOfNodes, getNumberOfNodesInParallel, getNumberOfPendingTasks, getNumberOfRunningTasks, getRemovedTime, getRuntimeGenericInformation, getStartTime, getStatus, getSubmissionMode, getSubmittedTime, getTags, getTags, getTaskByTagByStatusPaginated, getTaskByTagPaginated, getTasksPaginated, getTasksPaginated, getTotalNumberOfTasks, hashCode, isFinished, isToBeRemoved, setSortingBy, setSortingOrder, toString
display, getBucketName, getDescription, getGlobalGenericInformation, getGlobalSpace, getGlobalVariables, getInputSpace, getJobContent, getJobDeadline, getJobExpectedExecutionTime, getLabel, getOutputSpace, getParentId, getProjectName, getStartAt, getUnresolvedVariables, getUserSpace, getVariables, getVariablesAsReplacementMap, getVisualization, getWorkflowTags, setBucketName, setDescription, setGlobalGenericInformation, setGlobalSpace, setGlobalVariables, setInputSpace, setJobContent, setLabel, setName, setOutputSpace, setParentId, setPriority, setProjectName, setStartAt, setSubmissionMode, setUnresolvedVariables, setUserSpace, setVariables, setVisualization, setWorkflowTags, verifyVariableMap
addGenericInformation, addGenericInformations, applyReplacementsOnGenericInformation, getGenericInformation, getMaxNumberOfExecution, getMaxNumberOfExecutionProperty, getOnTaskErrorProperty, getRestartTaskOnError, getRestartTaskOnErrorProperty, getTaskRetryDelay, getTaskRetryDelayProperty, getUnresolvedGenericInformation, setGenericInformation, setMaxNumberOfExecution, setOnTaskError, setRestartTaskOnError, setTaskRetryDelay, setUnresolvedGenericInformation
public Map<TaskId,TaskState> getHMTasks()
JobState
getHMTasks
in class JobState
public JobInfo getJobInfo()
JobState
getJobInfo
in class JobState
public String getOwner()
JobState
public String getTenant()
JobState
public String getDomain()
JobState
public List<TaskState> getTasks()
JobState
public List<TaskState> getTasksByTag(String tag)
JobState
getTasksByTag
in class JobState
tag
- the used to filter the tasks.public void update(TaskInfo taskInfo)
JobState
public void update(JobInfo jobInfo)
JobState
public String getName()
Job
getName
in class JobState
Job.getName()
public JobPriority getPriority()
Job
getPriority
in class JobState
Job.getPriority()
public JobStateData getJobStateData()