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, IConnectionProvider $connectionProvider=null)
 
 setType ( $type)
 
 setConnectionProvider (IConnectionProvider $connectionProvider)
 
 run ()
 
 deleteAllJobs ()
 
 getStatus ()
 
 pop_type ( $type)
 

Protected Attributes

 $type = null
 
 $status = []
 
 $connectionProvider = 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

◆ __construct()

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

Member Function Documentation

◆ deleteAllJobs()

SMW\Tests\Utils\Runners\JobQueueRunner::deleteAllJobs ( )
Since
2.0

◆ getStatus()

SMW\Tests\Utils\Runners\JobQueueRunner::getStatus ( )
Since
1.9.2
Returns
array

◆ pop_type()

SMW\Tests\Utils\Runners\JobQueueRunner::pop_type (   $type)

◆ run()

SMW\Tests\Utils\Runners\JobQueueRunner::run ( )
Since
1.9.2

◆ setConnectionProvider()

SMW\Tests\Utils\Runners\JobQueueRunner::setConnectionProvider ( IConnectionProvider  $connectionProvider)
Since
2.1
Parameters
IConnectionProvider$connectionProvider
Returns
JobQueueRunner

◆ setType()

SMW\Tests\Utils\Runners\JobQueueRunner::setType (   $type)
Since
2.1
Parameters
string$type
Returns
JobQueueRunner

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

About | General disclaimer | Privacy policy