BlueSpice MediaWiki REL1_27
 All Classes Namespaces Files Functions Variables Groups Pages
DuplicateJob Class Reference
Inheritance diagram for DuplicateJob:
Collaboration diagram for DuplicateJob:

Public Member Functions

 __construct (Title $title, array $params)
 
 run ()
 
- Public Member Functions inherited from Job
 run ()
 
 __construct ($command, $title, $params=false)
 
 getType ()
 
 getTitle ()
 
 getParams ()
 
 getReleaseTimestamp ()
 
 getQueuedTimestamp ()
 
 getRequestId ()
 
 getReadyTimestamp ()
 
 ignoreDuplicates ()
 
 allowRetries ()
 
 workItemCount ()
 
 getDeduplicationInfo ()
 
 getRootJobParams ()
 
 hasRootJobParams ()
 
 isRootJob ()
 
 teardown ()
 
 insert ()
 
 toString ()
 
 getLastError ()
 

Static Public Member Functions

static newFromJob (Job $job)
 
- Static Public Member Functions inherited from Job
static factory ($command, Title $title, $params=[])
 
static batchInsert ($jobs)
 
static newRootJobParams ($key)
 

Additional Inherited Members

- Public Attributes inherited from Job
 $command
 
 $params
 
 $metadata = []
 
- Protected Member Functions inherited from Job
 addTeardownCallback ($callback)
 
 setLastError ($error)
 
- Protected Attributes inherited from Job
 $title
 
 $removeDuplicates
 
 $error
 
 $teardownCallbacks = []
 

Detailed Description

No-op job that does nothing. Used to represent duplicates.

Constructor & Destructor Documentation

DuplicateJob::__construct ( Title  $title,
array  $params 
)

Callers should use DuplicateJob::newFromJob() instead

Parameters
Title$title
array$paramsJob parameters

Member Function Documentation

static DuplicateJob::newFromJob ( Job  $job)
static

Get a duplicate no-op version of a job

Parameters
Job$job
Returns
Job

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