FOSSology  4.7.1
Open Source License Compliance by Open Source Software
Fossology\Reuser\Test\SchedulerTestRunner Interface Reference

Scheduler run interface. More...

Inheritance diagram for Fossology\Reuser\Test\SchedulerTestRunner:
Inheritance graph
Collaboration diagram for Fossology\Reuser\Test\SchedulerTestRunner:
Collaboration graph

Public Member Functions

 run ($uploadId, $userId=2, $groupId=2, $jobId=1, array $args=[])
 Function to run agent from scheduler. More...
 

Detailed Description

Scheduler run interface.

Definition at line 14 of file SchedulerTestRunner.php.

Member Function Documentation

◆ run()

Fossology\Reuser\Test\SchedulerTestRunner::run (   $uploadId,
  $userId = 2,
  $groupId = 2,
  $jobId = 1,
array  $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
array$argsAdditional arguments for the agent (each element is passed escaped)
Returns
array Success code, output, return code

Implemented in Fossology\Reuser\Test\SchedulerTestRunnerCli.


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