FOSSology  4.4.0
Open Source License Compliance by Open Source Software
Fossology\Decider\Test\SchedulerTestRunnerCli Class Reference
Inheritance diagram for Fossology\Decider\Test\SchedulerTestRunnerCli:
Inheritance graph
Collaboration diagram for Fossology\Decider\Test\SchedulerTestRunnerCli:
Collaboration graph

Public Member Functions

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

Private Attributes

 $testDb
 

Detailed Description

Definition at line 19 of file SchedulerTestRunnerCli.php.

Member Function Documentation

◆ run()

Fossology\Decider\Test\SchedulerTestRunnerCli::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
See also
SchedulerTestRunner::run()

Implements Fossology\Decider\Test\SchedulerTestRunner.

Definition at line 33 of file SchedulerTestRunnerCli.php.


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