A class to represent the various execution events that are relevant to the execution of a workflow. More...

#include <WorkflowExecutionEvent.h>

Inheritance diagram for wrench::WorkflowExecutionEvent:
wrench::FileCopyCompletedEvent wrench::FileCopyFailedEvent wrench::PilotJobExpiredEvent wrench::PilotJobStartedEvent wrench::StandardJobCompletedEvent wrench::StandardJobFailedEvent

Public Types

enum  EventType {
  UNDEFINED, STANDARD_JOB_COMPLETION, STANDARD_JOB_FAILURE, PILOT_JOB_START,
  PILOT_JOB_EXPIRATION, FILE_COPY_COMPLETION, FILE_COPY_FAILURE
}
 Workflow execution event types. More...
 

Static Public Member Functions

static std::unique_ptr< WorkflowExecutionEventwaitForNextExecutionEvent (std::string)
 Block the calling process until a WorkflowExecutionEvent is generated based on messages received on a mailbox. More...
 

Public Attributes

WorkflowExecutionEvent::EventType type
 The event type.
 

Protected Member Functions

 WorkflowExecutionEvent (EventType type)
 Constructor. More...
 

Detailed Description

A class to represent the various execution events that are relevant to the execution of a workflow.

Member Enumeration Documentation

◆ EventType

Workflow execution event types.

Enumerator
UNDEFINED 

An error type.

STANDARD_JOB_COMPLETION 

A standard job successfully completed.

STANDARD_JOB_FAILURE 

A standard job failed.

PILOT_JOB_START 

A pilot job started.

PILOT_JOB_EXPIRATION 

A pilot job expired.

FILE_COPY_COMPLETION 

A file copy operation completed.

FILE_COPY_FAILURE 

A file copy operation failed.

Constructor & Destructor Documentation

◆ WorkflowExecutionEvent()

wrench::WorkflowExecutionEvent::WorkflowExecutionEvent ( EventType  type)
inlineprotected

Constructor.

Parameters
typeevent type

Member Function Documentation

◆ waitForNextExecutionEvent()

std::unique_ptr< WorkflowExecutionEvent > wrench::WorkflowExecutionEvent::waitForNextExecutionEvent ( std::string  mailbox)
static

Block the calling process until a WorkflowExecutionEvent is generated based on messages received on a mailbox.

Parameters
mailboxthe name of the receiving mailbox
Returns
a workflow execution event
Exceptions
WorkflowExecutionException
std::runtime_error

The documentation for this class was generated from the following files:
  • /Users/rafsilva/Documents/isi/workspace/wrench/wrench/include/wrench/workflow/execution_events/WorkflowExecutionEvent.h
  • /Users/rafsilva/Documents/isi/workspace/wrench/wrench/src/wrench/workflow/execution_events/WorkflowExecutionEvent.cpp