Semantic MediaWiki and related extensions
Public Member Functions | Protected Attributes | List of all members
SMW\Tests\Utils\Runners\JobQueueRunner Class Reference

Public Member Functions

 __construct ($type=null, DBConnectionProvider $dbConnectionProvider=null)
 
 setType ($type)
 
 setDBConnectionProvider (DBConnectionProvider $dbConnectionProvider)
 
 run ()
 
 deleteAllJobs ()
 
 getStatus ()
 
 pop_type ($type)
 

Protected Attributes

 $type = null
 
 $status = array()
 
 $dbConnectionProvider = null
 

Detailed Description

Partly copied from the MW 1.19 RunJobs maintenance script

SMW SMWExtension

GNU GPL v2+

Since
1.9.2

Constructor & Destructor Documentation

SMW\Tests\Utils\Runners\JobQueueRunner::__construct (   $type = null,
DBConnectionProvider  $dbConnectionProvider = null 
)
Since
1.9.2
Parameters
string | null$type
DBConnectionProvider | null$dbConnectionProvider

Member Function Documentation

SMW\Tests\Utils\Runners\JobQueueRunner::deleteAllJobs ( )
Since
2.0
SMW\Tests\Utils\Runners\JobQueueRunner::getStatus ( )
Since
1.9.2
Returns
array
SMW\Tests\Utils\Runners\JobQueueRunner::pop_type (   $type)
SMW\Tests\Utils\Runners\JobQueueRunner::run ( )
Since
1.9.2
SMW\Tests\Utils\Runners\JobQueueRunner::setDBConnectionProvider ( DBConnectionProvider  $dbConnectionProvider)
Since
2.1
Parameters
DBConnectionProvider$dbConnectionProvider
Returns
JobQueueRunner
SMW\Tests\Utils\Runners\JobQueueRunner::setType (   $type)
Since
2.1
Parameters
string$type
Returns
JobQueueRunner

Member Data Documentation

SMW\Tests\Utils\Runners\JobQueueRunner::$dbConnectionProvider = null
protected
SMW\Tests\Utils\Runners\JobQueueRunner::$status = array()
protected
SMW\Tests\Utils\Runners\JobQueueRunner::$type = null
protected

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