FOSSology
3.2.0rc1
Open Source License Compliance by Open Source Software
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
agent-monk-bulk.php
1
<?php
2
/***********************************************************
3
* Copyright (C) 2008-2013 Hewlett-Packard Development Company, L.P.
4
* Copyright (C) 2014-2015, Siemens AG
5
*
6
* This program is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU General Public License
8
* version 2 as published by the Free Software Foundation.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License along
16
* with this program; if not, write to the Free Software Foundation, Inc.,
17
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18
***********************************************************/
19
20
use
Fossology\Lib\Plugin\AgentPlugin
;
21
22
class
MonkBulkAgentPlugin
extends
AgentPlugin
23
{
24
public
function
__construct()
25
{
26
$this->Name =
"agent_monk_bulk"
;
27
$this->Title = _(
"Monk Bulk License Clearing"
);
28
$this->AgentName =
"monkbulk"
;
29
30
parent::__construct();
31
}
32
33
function
preInstall()
34
{
35
// no AgentCheckBox
36
}
37
38
function
AgentAdd($jobId, $uploadId, &$errorMsg, $dependencies=array(), $bulkId=
''
)
39
{
40
return
$this->
doAgentAdd
($jobId, $uploadId, $errorMsg, $dependencies, $bulkId);
41
}
42
}
43
44
register_plugin(
new
MonkBulkAgentPlugin
());
AgentPlugin
MonkBulkAgentPlugin
Definition:
agent-monk-bulk.php:22
Fossology\Lib\Plugin\AgentPlugin
Definition:
AgentPlugin.php:21
Fossology\Lib\Plugin\AgentPlugin\doAgentAdd
doAgentAdd($jobId, $uploadId, &$errorMsg, $dependencies, $jqargs="", $jq_cmd_args=null)
Definition:
AgentPlugin.php:110
src
monk
ui
agent-monk-bulk.php
Generated on Mon Jun 29 2020 12:03:43 for FOSSology by
1.8.11