FOSSology  4.4.0
Open Source License Compliance by Open Source Software
Fossology\UI\Api\Models\Decider Class Reference

Decider model. More...

Collaboration diagram for Fossology\UI\Api\Models\Decider:
Collaboration graph

Public Member Functions

 __construct ($nomosMonk=false, $bulkReused=false, $newScanner=false, $ojoDecider=false, $concludeLicenseType="")
 
 setUsingArray ($deciderArray, $version=ApiVersion::V1)
 
 getNomosMonk ()
 
 getBulkReused ()
 
 getNewScanner ()
 
 getOjoDecider ()
 
 getConcludeLicenseType ()
 
 setNomosMonk ($nomosMonk)
 
 setBulkReused ($bulkReused)
 
 setNewScanner ($newScanner)
 
 setOjoDecider ($ojoDecider)
 
 setConcludeLicenseType ($concludeLicenseType)
 
 getArray ($version=ApiVersion::V1)
 

Private Attributes

 $nomosMonk
 
 $bulkReused
 
 $newScanner
 
 $ojoDecider
 
 $concludeLicenseType
 

Detailed Description

Decider model.

Definition at line 18 of file Decider.php.

Constructor & Destructor Documentation

◆ __construct()

Fossology\UI\Api\Models\Decider::__construct (   $nomosMonk = false,
  $bulkReused = false,
  $newScanner = false,
  $ojoDecider = false,
  $concludeLicenseType = "" 
)

Decider constructor.

Parameters
boolean$nomosMonk
boolean$bulkReused
boolean$newScanner
boolean$ojoDecider
string$concludeLicenseType

Definition at line 56 of file Decider.php.

Member Function Documentation

◆ getArray()

Fossology\UI\Api\Models\Decider::getArray (   $version = ApiVersion::V1)

Get decider as an array

Returns
array

Definition at line 182 of file Decider.php.

◆ getBulkReused()

Fossology\UI\Api\Models\Decider::getBulkReused ( )
Returns
boolean

Definition at line 104 of file Decider.php.

◆ getConcludeLicenseType()

Fossology\UI\Api\Models\Decider::getConcludeLicenseType ( )
Returns
string

Definition at line 128 of file Decider.php.

◆ getNewScanner()

Fossology\UI\Api\Models\Decider::getNewScanner ( )
Returns
boolean

Definition at line 112 of file Decider.php.

◆ getNomosMonk()

Fossology\UI\Api\Models\Decider::getNomosMonk ( )
Returns
boolean

Definition at line 96 of file Decider.php.

◆ getOjoDecider()

Fossology\UI\Api\Models\Decider::getOjoDecider ( )
Returns
boolean

Definition at line 120 of file Decider.php.

◆ setBulkReused()

Fossology\UI\Api\Models\Decider::setBulkReused (   $bulkReused)
Parameters
boolean$bulkReused

Definition at line 145 of file Decider.php.

◆ setConcludeLicenseType()

Fossology\UI\Api\Models\Decider::setConcludeLicenseType (   $concludeLicenseType)
Parameters
string$concludeLicenseType

Definition at line 169 of file Decider.php.

◆ setNewScanner()

Fossology\UI\Api\Models\Decider::setNewScanner (   $newScanner)
Parameters
boolean$newScanner

Definition at line 153 of file Decider.php.

◆ setNomosMonk()

Fossology\UI\Api\Models\Decider::setNomosMonk (   $nomosMonk)
Parameters
boolean$nomosMonk

Definition at line 137 of file Decider.php.

◆ setOjoDecider()

Fossology\UI\Api\Models\Decider::setOjoDecider (   $ojoDecider)
Parameters
boolean$ojoDecider

Definition at line 161 of file Decider.php.

◆ setUsingArray()

Fossology\UI\Api\Models\Decider::setUsingArray (   $deciderArray,
  $version = ApiVersion::V1 
)

Set the values of Analysis based on associative array

Parameters
array$deciderArrayAssociative boolean array
Returns
Decider Current object

Definition at line 72 of file Decider.php.

Member Data Documentation

◆ $bulkReused

boolean Fossology\UI\Api\Models\Decider::$bulkReused
private

Decide bulk phrases from reused packages

Definition at line 29 of file Decider.php.

◆ $concludeLicenseType

string Fossology\UI\Api\Models\Decider::$concludeLicenseType
private

Use this license type to create conclusions.

Definition at line 45 of file Decider.php.

◆ $newScanner

boolean Fossology\UI\Api\Models\Decider::$newScanner
private

New scanner results, i.e., decisions were marked as work in progress if new scanner finds additional licenses

Definition at line 35 of file Decider.php.

◆ $nomosMonk

boolean Fossology\UI\Api\Models\Decider::$nomosMonk
private

Scanners matches if all Nomos findings are within the Monk findings

Definition at line 24 of file Decider.php.

◆ $ojoDecider

boolean Fossology\UI\Api\Models\Decider::$ojoDecider
private

Scanners matches if Ojo or Reso findings are no contradiction with other findings

Definition at line 40 of file Decider.php.


The documentation for this class was generated from the following file: