10 #ifndef WRENCH_WORKFLOWJOB_H
11 #define WRENCH_WORKFLOWJOB_H
118 #endif //WRENCH_WORKFLOWJOB_H
std::map< std::string, std::string > service_specific_args
Service-specific arguments used during job submission.
Definition: WorkflowJob.h:87
std::string popCallbackMailbox()
Get the "next" callback mailbox (returns the workflow mailbox if the mailbox stack is empty),...
Definition: WorkflowJob.cpp:78
WorkflowJob()
Constructor.
Definition: WorkflowJob.cpp:33
A helper daemon (co-located with and explicitly started by a WMS), which is used to handle all job ex...
Definition: JobManager.h:48
std::stack< std::string > callback_mailbox_stack
Stack of callback mailboxes (to pop notifications)
Definition: WorkflowJob.h:90
double getEndDate()
Get the date at which the job ended (<0 means "never submitted")
Definition: WorkflowJob.cpp:135
std::string name
The job's name.
Definition: WorkflowJob.h:94
std::shared_ptr< ComputeService > getParentComputeService()
Get the parent compute service of the job.
Definition: WorkflowJob.cpp:119
std::shared_ptr< ComputeService > parent_compute_service
The compute service to which the job was submitted.
Definition: WorkflowJob.h:100
double getSubmitDate()
Get the date at which the job was last submitted (<0 means "never submitted")
Definition: WorkflowJob.cpp:127
std::string getCallbackMailbox()
Get the "next" callback mailbox (returns the origin (i.e., workflow) mailbox if the mailbox stack is ...
Definition: WorkflowJob.cpp:54
A workflow (to be executed by a WMS)
Definition: Workflow.h:34
void pushCallbackMailbox(std::string)
Pushes a callback mailbox.
Definition: WorkflowJob.cpp:92
std::map< std::string, std::string > getServiceSpecificArguments()
Return the service-specific arguments that were used during job submission.
Definition: WorkflowJob.cpp:143
Workflow * workflow
The workflow this job belong to.
Definition: WorkflowJob.h:92
unsigned long getNewUniqueNumber()
Generate a unique number (for each newly generated job)
Definition: WorkflowJob.cpp:101
double submit_date
The date at which the job was last submitted.
Definition: WorkflowJob.h:96
Abstraction of a job used for executing tasks in a Workflow.
Definition: WorkflowJob.h:34
void setParentComputeService(std::shared_ptr< ComputeService > compute_service)
Set the parent compute service of the job.
Definition: WorkflowJob.cpp:110
std::string getOriginCallbackMailbox()
Get the "origin" callback mailbox.
Definition: WorkflowJob.cpp:66
virtual unsigned long getPriority()
Return default job priority as zero.
Definition: WorkflowJob.cpp:151
virtual ~WorkflowJob()
Destructor.
Definition: WorkflowJob.cpp:25
std::string getName()
Get the job's name.
Definition: WorkflowJob.cpp:44
double end_date
The date at which the job ended (with success or failure)
Definition: WorkflowJob.h:98