FOSSology  3.2.0rc1
Open Source License Compliance by Open Source Software
decider.php
Go to the documentation of this file.
1 <?php
2 /*
3  Author: Daniele Fognini
4  Copyright (C) 2014, 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 */
24 namespace Fossology\Decider;
25 
27 
28 include_once(__DIR__ . "/DeciderAgent.php");
29 include_once(__DIR__ . "/BulkReuser.php");
30 
31 $agent = new DeciderAgent(LicenseMap::CONCLUSION);
32 $agent->scheduler_connect();
33 $agent->run_scheduler_event_loop();
34 $agent->scheduler_disconnect(0);
Namespace for decider agent.
Definition: BulkReuser.php:19