wrench::JobTypeNotSupported Class Reference

A "compute service does not support requested job type" failure cause. More...

#include <JobTypeNotSupported.h>

Inheritance diagram for wrench::JobTypeNotSupported:
wrench::FailureCause

Public Member Functions

 JobTypeNotSupported (std::shared_ptr< WorkflowJob > job, std::shared_ptr< ComputeService > compute_service)
 Constructor. More...
 
std::shared_ptr< ComputeServicegetComputeService ()
 Getter. More...
 
std::shared_ptr< WorkflowJobgetJob ()
 Getter. More...
 
std::string toString ()
 Get the human-readable failure message. More...
 

Detailed Description

A "compute service does not support requested job type" failure cause.

Constructor & Destructor Documentation

◆ JobTypeNotSupported()

wrench::JobTypeNotSupported::JobTypeNotSupported ( std::shared_ptr< WorkflowJob job,
std::shared_ptr< ComputeService compute_service 
)

Constructor.

Parameters
jobthe job that wasn't supported
compute_servicethe compute service that did not support it

Member Function Documentation

◆ getComputeService()

std::shared_ptr< ComputeService > wrench::JobTypeNotSupported::getComputeService ( )

Getter.

Returns
the compute service

◆ getJob()

std::shared_ptr< WorkflowJob > wrench::JobTypeNotSupported::getJob ( )

Getter.

Returns
the job

◆ toString()

std::string wrench::JobTypeNotSupported::toString ( )
virtual

Get the human-readable failure message.

Returns
the message

Implements wrench::FailureCause.


The documentation for this class was generated from the following files: