public class JobStateImpl extends JobState
ASC_ORDER, DESC_ORDER, SORT_BY_DESCRIPTION, SORT_BY_ID, SORT_BY_NAME, SORT_BY_OWNER, SORT_BY_PRIORITY, SORT_BY_PROJECT, SORT_BY_STATUS, SORT_BY_TYPE
description, globalSpace, inputSpace, JOB_DDL, JOB_EXEC_TIME, name, outputSpace, priority, projectName, unresolvedVariables, userSpace, variables, visualization
GENERIC_INFO_START_AT_KEY, genericInformation, maxNumberOfExecution, onTaskError, restartTaskOnError, unresolvedGenericInformation
Modifier and Type | Method and Description |
---|---|
Map<TaskId,TaskState> |
getHMTasks()
To get the tasks as a hash map.
|
JobInfo |
getJobInfo()
To get the jobInfo of this job.
|
org.ow2.proactive_grid_cloud_portal.scheduler.dto.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.
|
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, getFinishedTime, getId, getInErrorTime, getNumberOfFailedTasks, getNumberOfFaultyTasks, getNumberOfFinishedTasks, getNumberOfInErrorTasks, getNumberOfPendingTasks, getNumberOfRunningTasks, getRemovedTime, getRuntimeGenericInformation, getStartTime, getStatus, getSubmittedTime, getTags, getTags, getTaskByTagPaginated, getTasksPaginated, getTotalNumberOfTasks, hashCode, isFinished, isToBeRemoved, setSortingBy, setSortingOrder, toString
display, getDescription, getGlobalSpace, getInputSpace, getJobContent, getJobDeadline, getJobExpectedExecutionTime, getOutputSpace, getProjectName, getUnresolvedVariables, getUserSpace, getVariables, getVariablesAsReplacementMap, getVisualization, setDescription, setGlobalSpace, setInputSpace, setJobContent, setName, setOutputSpace, setPriority, setProjectName, setUnresolvedVariables, setUserSpace, setVariables, setVisualization, verifyVariableMap
addGenericInformation, addGenericInformations, applyReplacementsOnGenericInformation, getGenericInformation, getMaxNumberOfExecution, getMaxNumberOfExecutionProperty, getOnTaskErrorProperty, getRestartTaskOnError, getRestartTaskOnErrorProperty, getUnresolvedGenericInformation, setGenericInformation, setMaxNumberOfExecution, setOnTaskError, setRestartTaskOnError, setUnresolvedGenericInformation
public Map<TaskId,TaskState> getHMTasks()
JobState
getHMTasks
in class JobState
public JobInfo getJobInfo()
JobState
getJobInfo
in class JobState
public String getOwner()
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 org.ow2.proactive_grid_cloud_portal.scheduler.dto.JobStateData getJobStateData()