FOSSology  4.4.0
Open Source License Compliance by Open Source Software
Fossology\Reuser\Test\SchedulerTestRunnerCli Class Reference

Handles scheduler interaction. More...

Inheritance diagram for Fossology\Reuser\Test\SchedulerTestRunnerCli:
Inheritance graph
Collaboration diagram for Fossology\Reuser\Test\SchedulerTestRunnerCli:
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 SchedulerTestRunnerCli.php.

Member Function Documentation

◆ run()

Fossology\Reuser\Test\SchedulerTestRunnerCli::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\Reuser\Test\SchedulerTestRunner.

Definition at line 31 of file SchedulerTestRunnerCli.php.

Member Data Documentation

◆ $testDb

TestPgDb Fossology\Reuser\Test\SchedulerTestRunnerCli::$testDb
private

Test DB

Definition at line 24 of file SchedulerTestRunnerCli.php.


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