FOSSology  4.4.0
Open Source License Compliance by Open Source Software
Fossology\DeciderJob\Test\SchedulerTestRunner Interface Reference

Interface for scheduler. Called by test case. More...

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

Public Member Functions

 run ($uploadId, $userId=2, $groupId=2, $jobId=1, $args="")
 Setup and run agent based on inputs. More...
 

Detailed Description

Interface for scheduler. Called by test case.

Definition at line 14 of file SchedulerTestRunner.php.

Member Function Documentation

◆ run()

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

Setup and run agent based on inputs.

Parameters
int$uploadId
int$userId
int$groupId
int$jobId
string$args
Returns
array Run success code, agent output, agent return code

Implemented in Fossology\DeciderJob\Test\SchedulerTestRunnerMock, and Fossology\DeciderJob\Test\SchedulerTestRunnerCli.


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