All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions
SendGridTestEmailEventsJob Class Reference
Inheritance diagram for SendGridTestEmailEventsJob:
SendGridEmailEventsJob BaseJob

Public Member Functions

 run ()
 
- Public Member Functions inherited from SendGridEmailEventsJob
 run ()
 
 resolveMarkingPersonPrimaryEmailAsInvalid ($type, $zurmoPersonId)
 
- Public Member Functions inherited from BaseJob
 run ()
 
 getErrorMessage ()
 
 setMessageLogger (MessageLogger $messageLogger)
 
 getMessageLogger ()
 

Static Public Member Functions

static getType ()
 
static writeLog ($apiUsername, $rawData)
 
- Static Public Member Functions inherited from SendGridEmailEventsJob
static getDisplayName ()
 
static getType ()
 
static getRecommendedRunFrequencyContent ()
 
- Static Public Member Functions inherited from BaseJob
static shouldLoadJobQueueOnCleanupAndFallback ()
 
static getDisplayName ()
 
static getType ()
 
static resolveJobsForQueue ()
 
static loadJobQueue ()
 
static getRecommendedRunFrequencyContent ()
 
static getDefaultMessageLogger ()
 
static getRunTimeThresholdInSeconds ()
 
static showInJobManagerToRunManually ()
 
static jobExecutionInQueueDependsOnTime ()
 

Protected Member Functions

 createBounceEmailMessageActivity ()
 
 createSpamEmailMessageActivity ()
 
 processActivityInformation ($value)
 
- Protected Member Functions inherited from SendGridEmailEventsJob
 processEventData ($eventWebhookFilePath)
 
 saveExternalApiEmailMessageActivity (EmailMessageActivity $emailMessageActivity, $value)
 
 resolveFileContent ($eventWebhookFilePath)
 
 getActivityTypeByEvent ($value)
 
 processActivityInformation ($value)
 

Additional Inherited Members

- Data Fields inherited from BaseJob
const JOB_QUEUE_PAGE_SIZE = 100
 
- Static Protected Member Functions inherited from SendGridEmailEventsJob
static resolveAndUpdateEventInformationByStatus (&$value)
 
- Protected Attributes inherited from BaseJob
 $errorMessage
 
- Static Protected Attributes inherited from BaseJob
static $loadJobQueueOnCleanupAndFallback = false
 

Detailed Description

A test job for sendgrid events job.

Definition at line 40 of file SendGridTestEmailEventsJob.php.

Member Function Documentation

static getType ( )
static
Returns
The type of the NotificationRules

Definition at line 45 of file SendGridTestEmailEventsJob.php.

run ( )

Override so that job could be tested with test data. (non-PHPdoc)

See Also
BaseJob::run()

Definition at line 55 of file SendGridTestEmailEventsJob.php.

createBounceEmailMessageActivity ( )
protected
Returns

Definition at line 76 of file SendGridTestEmailEventsJob.php.

createSpamEmailMessageActivity ( )
protected
Returns

Definition at line 88 of file SendGridTestEmailEventsJob.php.

processActivityInformation (   $value)
protected

Process actiity information.

Parameters
int$type

Definition at line 101 of file SendGridTestEmailEventsJob.php.

static writeLog (   $apiUsername,
  $rawData 
)
static

Write log for send

Parameters
string$apiUsername

Definition at line 120 of file SendGridTestEmailEventsJob.php.


The documentation for this class was generated from the following file:
Generated on Sat May 30 2020 07:11:00