wrench::JobTimeout Class Reference

A "job has timed out" failure cause. More...

#include <JobTimeout.h>

Inheritance diagram for wrench::JobTimeout:
wrench::FailureCause

Public Member Functions

 JobTimeout (std::shared_ptr< WorkflowJob > job)
 Constructor. More...
 
std::shared_ptr< WorkflowJobgetJob ()
 Getter. More...
 
std::string toString ()
 Get the human-readable failure message. More...
 

Detailed Description

A "job has timed out" failure cause.

Constructor & Destructor Documentation

◆ JobTimeout()

wrench::JobTimeout::JobTimeout ( std::shared_ptr< WorkflowJob job)

Constructor.

Parameters
jobthe job that has timed out

Member Function Documentation

◆ getJob()

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

Getter.

Returns
the job

◆ toString()

std::string wrench::JobTimeout::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: