Model to hold analysis settings.
More...
|
| __construct ($bucket=false, $copyright=false, $ecc=false, $keyword=false, $mimetype=false, $monk=false, $nomos=false, $ojo=false, $reso=false, $pkgagent=false, $compatibility=false, $scanoss=false, $ipra=false, $softwareHeritage=false) |
|
| setUsingArray ($analysisArray, $version=ApiVersion::V1) |
|
| setUsingString ($analysisString) |
|
| getBucket () |
|
| getCopyright () |
|
| getEcc () |
|
| getKeyword () |
|
| getMime () |
|
| getMonk () |
|
| getNomos () |
|
| getOjo () |
|
| getScanoss () |
|
| getReso () |
|
| getPkgagent () |
|
| getIpra () |
|
| getSoftwareHeritage () |
|
| getCompatibility () |
|
| setBucket ($bucket) |
|
| setCopyright ($copyright) |
|
| setEcc ($ecc) |
|
| setKeyword ($keyword) |
|
| setMime ($mime) |
|
| setMonk ($monk) |
|
| setNomos ($nomos) |
|
| setOjo ($ojo) |
|
| setScanoss ($scanoss) |
|
| setReso ($reso) |
|
| setPkgagent ($pkgagent) |
|
| setIpra ($ipra) |
|
| setSoftwareHeritage ($softwareHeritage) |
|
| setCompatibility ($compatibility) |
|
| getArray ($version=ApiVersion::V1) |
|
Model to hold analysis settings.
Definition at line 20 of file Analysis.php.
◆ __construct()
Fossology\UI\Api\Models\Analysis::__construct |
( |
|
$bucket = false , |
|
|
|
$copyright = false , |
|
|
|
$ecc = false , |
|
|
|
$keyword = false , |
|
|
|
$mimetype = false , |
|
|
|
$monk = false , |
|
|
|
$nomos = false , |
|
|
|
$ojo = false , |
|
|
|
$reso = false , |
|
|
|
$pkgagent = false , |
|
|
|
$compatibility = false , |
|
|
|
$scanoss = false , |
|
|
|
$ipra = false , |
|
|
|
$softwareHeritage = false |
|
) |
| |
Analysis constructor.
- Parameters
-
boolean | $bucket | |
boolean | $copyright | |
boolean | $ecc | |
boolean | $keyword | |
boolean | $mimetype | |
boolean | $monk | |
boolean | $nomos | |
boolean | $pkgagent | |
boolean | $ojo | |
boolean | $reso | |
boolean | $compatibility | |
boolean | $scanoss | |
boolean | $ipra | |
boolean | $softwareHeritage | |
Definition at line 110 of file Analysis.php.
◆ getArray()
Fossology\UI\Api\Models\Analysis::getArray |
( |
|
$version = ApiVersion::V1 | ) |
|
Get the object as an associative array
- Returns
- array
Definition at line 433 of file Analysis.php.
◆ getBucket()
Fossology\UI\Api\Models\Analysis::getBucket |
( |
| ) |
|
◆ getCompatibility()
Fossology\UI\Api\Models\Analysis::getCompatibility |
( |
| ) |
|
◆ getCopyright()
Fossology\UI\Api\Models\Analysis::getCopyright |
( |
| ) |
|
◆ getEcc()
Fossology\UI\Api\Models\Analysis::getEcc |
( |
| ) |
|
◆ getIpra()
Fossology\UI\Api\Models\Analysis::getIpra |
( |
| ) |
|
◆ getKeyword()
Fossology\UI\Api\Models\Analysis::getKeyword |
( |
| ) |
|
◆ getMime()
Fossology\UI\Api\Models\Analysis::getMime |
( |
| ) |
|
◆ getMonk()
Fossology\UI\Api\Models\Analysis::getMonk |
( |
| ) |
|
◆ getNomos()
Fossology\UI\Api\Models\Analysis::getNomos |
( |
| ) |
|
◆ getOjo()
Fossology\UI\Api\Models\Analysis::getOjo |
( |
| ) |
|
◆ getPkgagent()
Fossology\UI\Api\Models\Analysis::getPkgagent |
( |
| ) |
|
◆ getReso()
Fossology\UI\Api\Models\Analysis::getReso |
( |
| ) |
|
◆ getScanoss()
Fossology\UI\Api\Models\Analysis::getScanoss |
( |
| ) |
|
◆ getSoftwareHeritage()
Fossology\UI\Api\Models\Analysis::getSoftwareHeritage |
( |
| ) |
|
◆ setBooleanProperties()
Fossology\UI\Api\Models\Analysis::setBooleanProperties |
( |
|
$array, |
|
|
|
$propertyMap |
|
) |
| |
|
private |
Helper function to set boolean properties from array
- Parameters
-
array | $array | Source array containing boolean values |
array | $propertyMap | Map of array keys to object properties |
Definition at line 134 of file Analysis.php.
◆ setBucket()
Fossology\UI\Api\Models\Analysis::setBucket |
( |
|
$bucket | ) |
|
◆ setCompatibility()
Fossology\UI\Api\Models\Analysis::setCompatibility |
( |
|
$compatibility | ) |
|
◆ setCopyright()
Fossology\UI\Api\Models\Analysis::setCopyright |
( |
|
$copyright | ) |
|
◆ setEcc()
Fossology\UI\Api\Models\Analysis::setEcc |
( |
|
$ecc | ) |
|
◆ setIpra()
Fossology\UI\Api\Models\Analysis::setIpra |
( |
|
$ipra | ) |
|
◆ setKeyword()
Fossology\UI\Api\Models\Analysis::setKeyword |
( |
|
$keyword | ) |
|
◆ setMime()
Fossology\UI\Api\Models\Analysis::setMime |
( |
|
$mime | ) |
|
◆ setMonk()
Fossology\UI\Api\Models\Analysis::setMonk |
( |
|
$monk | ) |
|
◆ setNomos()
Fossology\UI\Api\Models\Analysis::setNomos |
( |
|
$nomos | ) |
|
◆ setOjo()
Fossology\UI\Api\Models\Analysis::setOjo |
( |
|
$ojo | ) |
|
◆ setPkgagent()
Fossology\UI\Api\Models\Analysis::setPkgagent |
( |
|
$pkgagent | ) |
|
◆ setReso()
Fossology\UI\Api\Models\Analysis::setReso |
( |
|
$reso | ) |
|
◆ setScanoss()
Fossology\UI\Api\Models\Analysis::setScanoss |
( |
|
$scanoss | ) |
|
◆ setSoftwareHeritage()
Fossology\UI\Api\Models\Analysis::setSoftwareHeritage |
( |
|
$softwareHeritage | ) |
|
◆ setUsingArray()
Fossology\UI\Api\Models\Analysis::setUsingArray |
( |
|
$analysisArray, |
|
|
|
$version = ApiVersion::V1 |
|
) |
| |
Set the values of Analysis based on associative array
- Parameters
-
array | $analysisArray | Associative boolean array |
- Returns
- Analysis Current object
Definition at line 148 of file Analysis.php.
◆ setUsingString()
Fossology\UI\Api\Models\Analysis::setUsingString |
( |
|
$analysisString | ) |
|
Set the values of Analysis based on string from DB
- Parameters
-
string | $analysisString | String from DB settings |
- Returns
- Analysis Current object
Definition at line 176 of file Analysis.php.
◆ $bucket
boolean Fossology\UI\Api\Models\Analysis::$bucket |
|
private |
Whether to schedule bucket agent or not
Definition at line 26 of file Analysis.php.
◆ $compatibility
boolean Fossology\UI\Api\Models\Analysis::$compatibility |
|
private |
Whether to schedule compatibility agent or not
Definition at line 91 of file Analysis.php.
◆ $copyright
boolean Fossology\UI\Api\Models\Analysis::$copyright |
|
private |
Whether to schedule copyright agent or not
Definition at line 31 of file Analysis.php.
◆ $ecc
boolean Fossology\UI\Api\Models\Analysis::$ecc |
|
private |
Whether to schedule ecc agent or not
Definition at line 36 of file Analysis.php.
◆ $ipra
boolean Fossology\UI\Api\Models\Analysis::$ipra |
|
private |
Whether to schedule ipra agent or not
Definition at line 81 of file Analysis.php.
◆ $keyword
boolean Fossology\UI\Api\Models\Analysis::$keyword |
|
private |
Whether to schedule keyword agent or not
Definition at line 41 of file Analysis.php.
◆ $mimetype
boolean Fossology\UI\Api\Models\Analysis::$mimetype |
|
private |
Whether to schedule mime type agent or not
Definition at line 46 of file Analysis.php.
◆ $monk
boolean Fossology\UI\Api\Models\Analysis::$monk |
|
private |
Whether to schedule monk agent or not
Definition at line 51 of file Analysis.php.
◆ $nomos
boolean Fossology\UI\Api\Models\Analysis::$nomos |
|
private |
Whether to schedule nomos agent or not
Definition at line 56 of file Analysis.php.
◆ $ojo
boolean Fossology\UI\Api\Models\Analysis::$ojo |
|
private |
Whether to schedule ojo agent or not
Definition at line 61 of file Analysis.php.
◆ $pkgagent
boolean Fossology\UI\Api\Models\Analysis::$pkgagent |
|
private |
Whether to schedule reso agent or not
Whether to schedule package agent or not
Definition at line 76 of file Analysis.php.
◆ $scanoss
boolean Fossology\UI\Api\Models\Analysis::$scanoss |
|
private |
Whether to schedule scanoss agent or not
Definition at line 66 of file Analysis.php.
◆ $softwareHeritage
boolean Fossology\UI\Api\Models\Analysis::$softwareHeritage |
|
private |
Whether to schedule software heritage agent or not
Definition at line 86 of file Analysis.php.
The documentation for this class was generated from the following file: