10 #ifndef WRENCH_WORKFLOWJOB_H
11 #define WRENCH_WORKFLOWJOB_H
58 std::string popCallbackMailbox();
60 void pushCallbackMailbox(std::string);
62 std::string getCallbackMailbox();
64 std::string getOriginCallbackMailbox();
66 void setParentComputeService(std::shared_ptr<ComputeService> compute_service);
68 std::shared_ptr<ComputeService> getParentComputeService();
70 std::map<std::string, std::string> getServiceSpecificArguments();
72 virtual unsigned long getPriority();
82 unsigned long getNewUniqueNumber();
85 std::map<std::string, std::string> service_specific_args;
88 std::stack<std::string> callback_mailbox_stack;
98 std::shared_ptr<ComputeService> parent_compute_service;
116 #endif //WRENCH_WORKFLOWJOB_H
std::string getTypeAsString()
Get the job type name.
Definition: WorkflowJob.cpp:54
A helper daemon (co-located with and explicitly started by a WMS), which is used to handle all job ex...
Definition: JobManager.h:40
double getSubmitDate()
Get the date at which the job was last submitted (<0 means "never submitted")
Definition: WorkflowJob.cpp:157
A workflow (to be executed by a WMS)
Definition: Workflow.h:33
Abstraction of a job used for executing tasks in a Workflow.
Definition: WorkflowJob.h:34
Type
Job types.
Definition: WorkflowJob.h:38
Type getType()
Get the job type.
Definition: WorkflowJob.cpp:44
@ STANDARD
A standard job that can be submitted directly to a ComputeService for execution.
Definition: WorkflowJob.h:40
std::string getName()
Get the job's name.
Definition: WorkflowJob.cpp:74
@ PILOT
A pilot job that can be submitted to a ComputeService and that, once started, will act as a ComputeSe...
Definition: WorkflowJob.h:43