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

Create dummy run interface. More...

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

Public Member Functions

 run ($uploadId, $userId=2, $groupId=2, $jobId=1, $args="")
 Get the arguments required by agent to run and try to run the agent. More...
 

Detailed Description

Create dummy run interface.

Definition at line 14 of file SchedulerTestRunner.php.

Member Function Documentation

◆ run()

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

Get the arguments required by agent to run and try to run the agent.

Parameters
int$uploadIdUpload id agent should work on
int$userIdUser who run the agent
int$groupIdGroup who run the agent
int$jobIdJob id agent should work on
string$argsAdditional arguments to the agent

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


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