A "job has been killed" failure cause. More...
#include <JobKilled.h>
Public Member Functions | |
JobKilled (std::shared_ptr< WorkflowJob > job, std::shared_ptr< ComputeService > compute_service) | |
Constructor. More... | |
std::shared_ptr< ComputeService > | getComputeService () |
Getter. More... | |
std::shared_ptr< WorkflowJob > | getJob () |
Getter. More... | |
std::string | toString () |
Get the human-readable failure message. More... | |
Detailed Description
A "job has been killed" failure cause.
Constructor & Destructor Documentation
◆ JobKilled()
wrench::JobKilled::JobKilled | ( | std::shared_ptr< WorkflowJob > | job, |
std::shared_ptr< ComputeService > | compute_service | ||
) |
Constructor.
- Parameters
-
job the job that could not be executed compute_service the compute service that didn't have enough cores
Member Function Documentation
◆ getComputeService()
std::shared_ptr< ComputeService > wrench::JobKilled::getComputeService | ( | ) |
Getter.
- Returns
- the compute service
◆ getJob()
std::shared_ptr< WorkflowJob > wrench::JobKilled::getJob | ( | ) |
Getter.
- Returns
- the job
◆ toString()
|
virtual |
The documentation for this class was generated from the following files:
- JobKilled.h
- JobKilled.cpp