Abstraction of a job used for executing tasks in a Workflow.
More...
#include <WorkflowJob.h>
Abstraction of a job used for executing tasks in a Workflow.
◆ WorkflowJob()
wrench::WorkflowJob::WorkflowJob |
( |
| ) |
|
|
protected |
◆ getCallbackMailbox()
std::string wrench::WorkflowJob::getCallbackMailbox |
( |
| ) |
|
Get the "next" callback mailbox (returns the origin (i.e., workflow) mailbox if the mailbox stack is empty)
- Returns
- the next callback mailbox
◆ getEndDate()
double wrench::WorkflowJob::getEndDate |
( |
| ) |
|
Get the date at which the job ended (<0 means "never submitted")
- Returns
- the end date
◆ getName()
std::string wrench::WorkflowJob::getName |
( |
| ) |
|
Get the job's name.
- Returns
- the name as a string
◆ getNewUniqueNumber()
unsigned long wrench::WorkflowJob::getNewUniqueNumber |
( |
| ) |
|
|
protected |
Generate a unique number (for each newly generated job)
- Returns
- a unique number
◆ getOriginCallbackMailbox()
std::string wrench::WorkflowJob::getOriginCallbackMailbox |
( |
| ) |
|
Get the "origin" callback mailbox.
- Returns
- the next callback mailbox
◆ getParentComputeService()
std::shared_ptr< ComputeService > wrench::WorkflowJob::getParentComputeService |
( |
| ) |
|
Get the parent compute service of the job.
- Returns
- a compute service
◆ getPriority()
unsigned long wrench::WorkflowJob::getPriority |
( |
| ) |
|
|
virtual |
◆ getServiceSpecificArguments()
std::map< std::string, std::string > wrench::WorkflowJob::getServiceSpecificArguments |
( |
| ) |
|
Return the service-specific arguments that were used during job submission.
- Returns
- a map of argument name/values
◆ getSubmitDate()
double wrench::WorkflowJob::getSubmitDate |
( |
| ) |
|
Get the date at which the job was last submitted (<0 means "never submitted")
- Returns
- the submit date
◆ popCallbackMailbox()
std::string wrench::WorkflowJob::popCallbackMailbox |
( |
| ) |
|
Get the "next" callback mailbox (returns the workflow mailbox if the mailbox stack is empty), and pops it.
- Returns
- the next callback mailbox
◆ pushCallbackMailbox()
void wrench::WorkflowJob::pushCallbackMailbox |
( |
std::string |
mailbox | ) |
|
Pushes a callback mailbox.
- Parameters
-
◆ setParentComputeService()
void wrench::WorkflowJob::setParentComputeService |
( |
std::shared_ptr< ComputeService > |
compute_service | ) |
|
Set the parent compute service of the job.
- Parameters
-
compute_service | a compute service |
The documentation for this class was generated from the following files: