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

Public Member Functions

 run ()
 
- Public Member Functions inherited from BaseJob
 run ()
 
 getErrorMessage ()
 
 setMessageLogger (MessageLogger $messageLogger)
 
 getMessageLogger ()
 

Static Public Member Functions

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 ()
 

Static Protected Attributes

static $pageSize = 200
 
- Static Protected Attributes inherited from BaseJob
static $loadJobQueueOnCleanupAndFallback = false
 

Additional Inherited Members

- Data Fields inherited from BaseJob
const JOB_QUEUE_PAGE_SIZE = 100
 
- Protected Attributes inherited from BaseJob
 $errorMessage
 

Detailed Description

A job for removing old import models after the imports are complete.

Definition at line 40 of file ImportCleanupJob.php.

Member Function Documentation

static getDisplayName ( )
static
Returns
Translated label that describes this job type.

Definition at line 47 of file ImportCleanupJob.php.

static getType ( )
static
Returns
The type of the NotificationRules

Definition at line 55 of file ImportCleanupJob.php.

run ( )

Get all imports where the modifiedDateTime was more than 1 week ago. Then delete the imports. (non-PHPdoc)

See Also
BaseJob::run()

Definition at line 71 of file ImportCleanupJob.php.


The documentation for this class was generated from the following file:
Generated on Sat Mar 28 2020 07:10:58