FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
Public Member Functions | |
__construct (DbManager $dbManager, AgentDao $agentDao, ClearingDao $clearingDao, UploadDao $uploadDao, HighlightDao $highlightDao, ShowJobsDao $showJobsDao, CopyrightDao $copyrightDao, CompatibilityDao $compatibilityDao, LicenseDao $licenseDao, ClearingDecisionProcessor $clearingDecisionProcessor, AgentLicenseEventProcessor $agentLicenseEventProcessor) | |
run ($uploadId, $userId=2, $groupId=2, $jobId=1, $args="") | |
Get the arguments required by agent to run and try to run the agent. More... | |
Definition at line 29 of file SchedulerTestRunnerMock.php.
Fossology\Decider\Test\SchedulerTestRunnerMock::run | ( | $uploadId, | |
$userId = 2 , |
|||
$groupId = 2 , |
|||
$jobId = 1 , |
|||
$args = "" |
|||
) |
Get the arguments required by agent to run and try to run the agent.
int | $uploadId | Upload id agent should work on |
int | $userId | User who run the agent |
int | $groupId | Group who run the agent |
int | $jobId | Job id agent should work on |
string | $args | Additional arguments to the agent |
Implements Fossology\Decider\Test\SchedulerTestRunner.
Definition at line 82 of file SchedulerTestRunnerMock.php.