@PublicAPI public interface JobInfo extends Serializable
Modifier and Type | Method and Description |
---|---|
Map<Integer,Boolean> |
getAttachedServices()
Returns a map of attached PSA services
{ServiceId, EnableActions}
|
String |
getBucketName()
Returns the bucket name associated with this job
|
int |
getChildrenCount()
Return the number of children jobs
|
long |
getCumulatedCoreTime()
Returns the cumulated time consumed by task executions for this job
|
String |
getDescription()
Returns the description associated with this job
|
Map<String,Map<String,JobVariable>> |
getDetailedSignals()
Returns the map of signals and input variables
|
Map<String,JobVariable> |
getDetailedVariables()
Returns the variables Map with full definition
|
String |
getDomain()
Return the domain associated with the job owner
|
Map<String,ExternalEndpoint> |
getExternalEndpointUrls()
Returns a set of external endpoint urls
|
long |
getFinishedTime()
Returns the time at which the Job has finished.
|
Map<String,String> |
getGenericInformation()
Returns the generic information Map
|
long |
getInErrorTime()
Returns the time at which a Job was seen as in-error
for the last time.
|
JobId |
getJobId()
Returns an identifier that uniquely identifies the Job
within a Scheduler instance.
|
String |
getJobOwner()
Returns the name of the Job owner.
|
String |
getLabel()
Returns the label associated with this job
|
long |
getLastUpdatedTime()
Returns the time at which the last updated happened on the Job.
|
int |
getNumberOfFailedTasks()
Returns the number of tasks managed by the Job
that are in a failed state due to a resource failure.
|
int |
getNumberOfFaultyTasks()
Returns the number of tasks managed by the Job
that are in a faulty state.
|
int |
getNumberOfFinishedTasks()
Returns the number of tasks managed by the Job
which are finished.
|
int |
getNumberOfInErrorTasks()
Returns the number of tasks managed by the Job
that are in an in-error state.
|
int |
getNumberOfNodes()
Returns the number of nodes used by the job since the beginning of its execution
|
int |
getNumberOfNodesInParallel()
Returns the number of nodes in parallel used by the job since the beginning of its execution
|
int |
getNumberOfPendingTasks()
Returns the number of tasks managed by the Job
which are pending.
|
int |
getNumberOfRunningTasks()
Returns the number of tasks managed by the Job
which are running.
|
Long |
getParentId()
Return the parent id of the job
|
List<String> |
getPreciousTasks()
Return the list of tasks names with precious results
|
JobPriority |
getPriority()
Returns the priority of the Job.
|
String |
getProjectName()
Returns the project name associated with this job
|
long |
getRemovedTime()
Returns the time at which the Job has been marked as removed.
|
long |
getScheduledTimeForRemoval()
Returns the scheduled time for removal.
|
Set<String> |
getSignals()
Returns the set of signals used by the job
|
Long |
getStartAt()
Return the scheduled time of the job, defined by the generic information START_AT
|
long |
getStartTime()
Returns the time at which the Job has started.
|
JobStatus |
getStatus()
Return the status of the job.
|
String |
getSubmissionMode()
Returns the portal name via the job was submitted
|
long |
getSubmittedTime()
Returns the time at which the Job was submitted.
|
String |
getTenant()
Return the tenant associated with the job owner
|
int |
getTotalNumberOfTasks()
Returns the number of tasks managed by the Job.
|
Map<String,String> |
getVariables()
Returns the variables Map
|
Map<String,String> |
getVisualizationConnectionStrings()
Return a map of visualization connection strings
key: task name
value: connection string
|
Map<String,String> |
getVisualizationIcons()
Return a map of visualization icons
key: task name
value: icon associated with the task
|
boolean |
isResultMapPresent()
Return true if a non-empty result map is attached to this job
|
boolean |
isStarted() |
boolean |
isToBeRemoved()
Returns a boolean that indicates whether the job
is marked for removal or not.
|
void |
setDetailedSignals(Map<String,Map<String,JobVariable>> detailedSignals)
Sets the map of job signals and input variables
|
void |
setSignals(Set<String> signals)
Sets the set of job signals
|
void |
setVisualizationConnectionStrings(Map<String,String> connectionStrings)
Sets the visualization connection string map
|
void |
setVisualizationIcons(Map<String,String> visualizationIcons)
Sets the visualization icons
|
JobId getJobId()
String getJobOwner()
String getTenant()
String getDomain()
String getProjectName()
String getDescription()
String getBucketName()
String getLabel()
String getSubmissionMode()
long getFinishedTime()
long getRemovedTime()
long getStartTime()
boolean isStarted()
long getInErrorTime()
-1
.long getSubmittedTime()
long getLastUpdatedTime()
long getCumulatedCoreTime()
int getNumberOfNodes()
int getNumberOfNodesInParallel()
int getTotalNumberOfTasks()
int getNumberOfFinishedTasks()
int getNumberOfPendingTasks()
int getNumberOfRunningTasks()
int getNumberOfFailedTasks()
int getNumberOfFaultyTasks()
int getNumberOfInErrorTasks()
JobPriority getPriority()
JobStatus getStatus()
boolean isToBeRemoved()
long getScheduledTimeForRemoval()
Map<String,String> getGenericInformation()
Map<String,JobVariable> getDetailedVariables()
Map<String,String> getVisualizationConnectionStrings()
void setVisualizationConnectionStrings(Map<String,String> connectionStrings)
connectionStrings
- Map<String,String> getVisualizationIcons()
void setVisualizationIcons(Map<String,String> visualizationIcons)
visualizationIcons
- Map<Integer,Boolean> getAttachedServices()
Map<String,ExternalEndpoint> getExternalEndpointUrls()
Map<String,Map<String,JobVariable>> getDetailedSignals()
void setDetailedSignals(Map<String,Map<String,JobVariable>> detailedSignals)
List<String> getPreciousTasks()
boolean isResultMapPresent()
Long getParentId()
Long getStartAt()
int getChildrenCount()