WRENCH  1.11
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
JobKilled.h
1 
10 #ifndef WRENCH_JOB_FILLED_H
11 #define WRENCH_JOB_FILLED_H
12 
13 #include <set>
14 #include <string>
15 
16 #include "FailureCause.h"
17 #include "wrench/services/compute/ComputeService.h"
18 
19 namespace wrench {
20 
21  class Job;
22 
23  /***********************/
25  /***********************/
26 
30  class JobKilled : public FailureCause {
31  public:
32  /***********************/
34  /***********************/
35  JobKilled(std::shared_ptr<Job> job);
36  /***********************/
38  /***********************/
39 
40  std::shared_ptr<Job> getJob();
41  std::string toString() override;
42 
43  private:
44  std::shared_ptr<Job> job;
45  };
46 
47 
48  /***********************/
50  /***********************/
51 };
52 
53 
54 #endif //WRENCH_JOB_FILLED_H
wrench::JobKilled::getJob
std::shared_ptr< Job > getJob()
Getter.
Definition: JobKilled.cpp:34
wrench::JobKilled::JobKilled
JobKilled(std::shared_ptr< Job > job)
Constructor.
Definition: JobKilled.cpp:26
wrench
Definition: Action.cpp:28
wrench::FailureCause
A top-level class to describe all simulation-valid failures that can occur during workflow execution ...
Definition: FailureCause.h:31
wrench::JobKilled
A "job has been killed" failure cause.
Definition: JobKilled.h:30
wrench::JobKilled::toString
std::string toString() override
Get the human-readable failure message.
Definition: JobKilled.cpp:42