MediaWiki master
|
Interface for generic jobs only uses the parameters field and are JSON serializable. More...
Inherits IJobSpecification.
Inherited by AssembleUploadChunksJob, CdnPurgeJob, DeletePageJob, DuplicateJob, MediaWiki\Watchlist\ClearUserWatchlistJob, MediaWiki\Watchlist\ClearWatchlistNotificationsJob, NullJob, PublishStashedFileJob, RevertedTagUpdateJob, UploadFromUrlJob, UserEditCountInitJob, UserGroupExpiryJob, and UserOptionsUpdateJob.
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 () | |
Interface for generic jobs only uses the parameters field and are JSON serializable.
Jobs using this interface require needsPage: false
to be set in the JobClasses configuration of their extension.json declaration.
Definition at line 30 of file GenericParameterJob.php.
GenericParameterJob::__construct | ( | array | $params | ) |
array | $params | JSON-serializable map of parameters |
Implemented in AssembleUploadChunksJob, CdnPurgeJob, DeletePageJob, DuplicateJob, NullJob, PublishStashedFileJob, RevertedTagUpdateJob, UploadFromUrlJob, UserOptionsUpdateJob, UserEditCountInitJob, UserGroupExpiryJob, MediaWiki\Watchlist\ClearUserWatchlistJob, and MediaWiki\Watchlist\ClearWatchlistNotificationsJob.