10 #ifndef WRENCH_JOB_TYPE_NOT_SUPPORTED_H
11 #define WRENCH_JOB_TYPE_NOT_SUPPORTED_H
16 #include "wrench/workflow/failure_causes/FailureCause.h"
17 #include "wrench/services/compute/ComputeService.h"
35 JobTypeNotSupported(std::shared_ptr<WorkflowJob> job, std::shared_ptr<ComputeService> compute_service);
40 std::shared_ptr<WorkflowJob>
getJob();
45 std::shared_ptr<WorkflowJob> job;
46 std::shared_ptr<ComputeService> compute_service;
56 #endif //WRENCH_JOB_TYPE_NOT_SUPPORTED_H
A "compute service does not support requested job type" failure cause.
Definition: JobTypeNotSupported.h:30
std::string toString()
Get the human-readable failure message.
Definition: JobTypeNotSupported.cpp:55
std::shared_ptr< ComputeService > getComputeService()
Getter.
Definition: JobTypeNotSupported.cpp:47
JobTypeNotSupported(std::shared_ptr< WorkflowJob > job, std::shared_ptr< ComputeService > compute_service)
Constructor.
Definition: JobTypeNotSupported.cpp:30
A top-level class to describe all simulation-valid failures that can occur during workflow execution ...
Definition: FailureCause.h:31
std::shared_ptr< WorkflowJob > getJob()
Getter.
Definition: JobTypeNotSupported.cpp:39