FOSSology  4.4.0
Open Source License Compliance by Open Source Software
Fossology\Compatibility\Test\SchedulerTestRunnerScheduler Class Reference

Handles scheduler interaction. More...

Inheritance diagram for Fossology\Compatibility\Test\SchedulerTestRunnerScheduler:
Inheritance graph
Collaboration diagram for Fossology\Compatibility\Test\SchedulerTestRunnerScheduler:
Collaboration graph

Public Member Functions

 __construct (TestPgDb $testDb)
 
 run ($uploadId, $userId=2, $groupId=2, $jobId=1, $args="")
 Function to run agent from scheduler. More...
 

Private Attributes

 $testDb
 

Detailed Description

Handles scheduler interaction.

Definition at line 19 of file SchedulerTestRunnerScheduler.php.

Member Function Documentation

◆ run()

Fossology\Compatibility\Test\SchedulerTestRunnerScheduler::run (   $uploadId,
  $userId = 2,
  $groupId = 2,
  $jobId = 1,
  $args = "" 
)

Function to run agent from scheduler.

Parameters
int$uploadIdUpload id to run agent on
int$userIdUser id to use
int$groupIdGroup id to use
int$jobIdJob id to run
string$argsArguments for scheduler
Returns
array Success code, output, return code

Implements Fossology\Compatibility\Test\SchedulerTestRunner.

Definition at line 31 of file SchedulerTestRunnerScheduler.php.

Member Data Documentation

◆ $testDb

TestPgDb Fossology\Compatibility\Test\SchedulerTestRunnerScheduler::$testDb
private

Test DB

Definition at line 24 of file SchedulerTestRunnerScheduler.php.


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