MediaWiki REL1_35
GenericParameterJob Interface Reference

Interface for generic jobs only uses the parameters field and are JSON serializable. More...

Inheritance diagram for GenericParameterJob:
Collaboration diagram for GenericParameterJob:

Public Member Functions

 __construct (array $params)
 
- Public Member Functions inherited from IJobSpecification
 getDeduplicationInfo ()
 Subclasses may need to override this to make duplication detection work.
 
 getParams ()
 
 getReleaseTimestamp ()
 
 getRootJobParams ()
 
 getType ()
 
 hasRootJobParams ()
 
 ignoreDuplicates ()
 
 isRootJob ()
 

Detailed Description

Interface for generic jobs only uses the parameters field and are JSON serializable.

Stable to implement

Since
1.33

Definition at line 31 of file GenericParameterJob.php.

Constructor & Destructor Documentation

◆ __construct()

GenericParameterJob::__construct ( array  $params)
Parameters
array$paramsJSON-serializable map of parameters

Implemented in CdnPurgeJob, ClearUserWatchlistJob, ClearWatchlistNotificationsJob, DeletePageJob, DuplicateJob, EnqueueJob, NullJob, UserGroupExpiryJob, and UserOptionsUpdateJob.


The documentation for this interface was generated from the following file: