WRENCH  1.11
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
Public Member Functions | List of all members
wrench::JobKilled Class Reference

A "job has been killed" failure cause. More...

#include <JobKilled.h>

Inheritance diagram for wrench::JobKilled:
wrench::FailureCause

Public Member Functions

 JobKilled (std::shared_ptr< Job > job)
 Constructor. More...
 
std::shared_ptr< JobgetJob ()
 Getter. More...
 
std::string toString () override
 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< Job job)

Constructor.

Parameters
jobthe job that was killed

Member Function Documentation

◆ getJob()

std::shared_ptr< Job > wrench::JobKilled::getJob ( )

Getter.

Returns
the job

◆ toString()

std::string wrench::JobKilled::toString ( )
overridevirtual

Get the human-readable failure message.

Returns
the message

Implements wrench::FailureCause.


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