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"
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
WorkflowJob * getJob()
Getter.
Definition: JobTypeNotSupported.cpp:39
A top-level class to describe all simulation-valid failures that can occur during workflow execution ...
Definition: FailureCause.h:31
Abstraction of a job used for executing tasks in a Workflow.
Definition: WorkflowJob.h:34
JobTypeNotSupported(WorkflowJob *job, std::shared_ptr< ComputeService > compute_service)
Constructor.
Definition: JobTypeNotSupported.cpp:30