FOSSology  4.4.0
Open Source License Compliance by Open Source Software
agent-monk-bulk.php
1 <?php
2 /*
3  SPDX-FileCopyrightText: © 2008-2013 Hewlett-Packard Development Company, L.P.
4  SPDX-FileCopyrightText: © 2014-2015 Siemens AG
5 
6  SPDX-License-Identifier: GPL-2.0-only
7 */
8 
10 
12 {
13  public function __construct()
14  {
15  $this->Name = "agent_monk_bulk";
16  $this->Title = _("Monk Bulk License Clearing");
17  $this->AgentName = "monkbulk";
18 
19  parent::__construct();
20  }
21 
22  function preInstall()
23  {
24  // no AgentCheckBox
25  }
26 
27  function AgentAdd($jobId, $uploadId, &$errorMsg, $dependencies=[],
28  $arguments=null, $request=null, $unpackArgs=null)
29  {
30  return $this->doAgentAdd($jobId, $uploadId, $errorMsg, $dependencies,
31  $arguments, null, $request);
32  }
33 }
34 
35 register_plugin(new MonkBulkAgentPlugin());
doAgentAdd($jobId, $uploadId, &$errorMsg, $dependencies, $jqargs="", $jq_cmd_args=null, $request=null)
AgentAdd($jobId, $uploadId, &$errorMsg, $dependencies=[], $arguments=null, $request=null, $unpackArgs=null)