FOSSology  4.4.0
Open Source License Compliance by Open Source Software
DecisionScopes.php
1 <?php
2 /*
3  SPDX-FileCopyrightText: © 2014 Siemens AG
4 
5  SPDX-License-Identifier: GPL-2.0-only
6 */
7 
8 namespace Fossology\Lib\Data;
9 
10 class DecisionScopes extends Types
11 {
12  const ITEM = 0;
13  const REPO = 1;
14  const UPLOAD = 2;
15  const PACKAGE = 3;
16 
17  public function __construct()
18  {
19  parent::__construct("decision scope");
20 
21  $this->map = array(
22  self::ITEM => "local",
23  self::PACKAGE => "package",
24  self::REPO => "global");
25  }
26 }