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

Model to hold analysis settings. More...

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

Public Member Functions

 __construct ($bucket=false, $copyright=false, $ecc=false, $keyword=false, $mimetype=false, $monk=false, $nomos=false, $ojo=false, $reso=false, $pkgagent=false, $compatibility=false)
 
 setUsingArray ($analysisArray, $version=ApiVersion::V1)
 
 setUsingString ($analysisString)
 
 getBucket ()
 
 getCopyright ()
 
 getEcc ()
 
 getKeyword ()
 
 getMime ()
 
 getMonk ()
 
 getNomos ()
 
 getOjo ()
 
 getReso ()
 
 getPackage ()
 
 getCompatibility ()
 
 setBucket ($bucket)
 
 setCopyright ($copyright)
 
 setEcc ($ecc)
 
 setKeyword ($keyword)
 
 setMime ($mime)
 
 setMonk ($monk)
 
 setNomos ($nomos)
 
 setOjo ($ojo)
 
 setReso ($reso)
 
 setPackage ($package)
 
 setCompatibility ($compatibility)
 
 getArray ($version=ApiVersion::V1)
 

Private Attributes

 $bucket
 
 $copyright
 
 $ecc
 
 $keyword
 
 $mimetype
 
 $monk
 
 $nomos
 
 $ojo
 
 $reso
 
 $pkgagent
 
 $compatibility
 

Detailed Description

Model to hold analysis settings.

Definition at line 20 of file Analysis.php.

Constructor & Destructor Documentation

◆ __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 
)

Analysis constructor.

Parameters
boolean$bucket
boolean$copyright
boolean$ecc
boolean$keyword
boolean$mimetype
boolean$monk
boolean$nomos
boolean$pkgagent
boolean$ojo
boolean$reso
boolean$pkgagent
boolean$compatibility

Definition at line 93 of file Analysis.php.

Member Function Documentation

◆ getArray()

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

Get the object as an associative array

Returns
array

Definition at line 383 of file Analysis.php.

◆ getBucket()

Fossology\UI\Api\Models\Analysis::getBucket ( )
Returns
boolean

Definition at line 205 of file Analysis.php.

◆ getCompatibility()

Fossology\UI\Api\Models\Analysis::getCompatibility ( )
Returns
bool

Definition at line 285 of file Analysis.php.

◆ getCopyright()

Fossology\UI\Api\Models\Analysis::getCopyright ( )
Returns
boolean

Definition at line 213 of file Analysis.php.

◆ getEcc()

Fossology\UI\Api\Models\Analysis::getEcc ( )
Returns
boolean

Definition at line 221 of file Analysis.php.

◆ getKeyword()

Fossology\UI\Api\Models\Analysis::getKeyword ( )
Returns
boolean

Definition at line 229 of file Analysis.php.

◆ getMime()

Fossology\UI\Api\Models\Analysis::getMime ( )
Returns
boolean

Definition at line 237 of file Analysis.php.

◆ getMonk()

Fossology\UI\Api\Models\Analysis::getMonk ( )
Returns
boolean

Definition at line 245 of file Analysis.php.

◆ getNomos()

Fossology\UI\Api\Models\Analysis::getNomos ( )
Returns
boolean

Definition at line 253 of file Analysis.php.

◆ getOjo()

Fossology\UI\Api\Models\Analysis::getOjo ( )
Returns
boolean

Definition at line 261 of file Analysis.php.

◆ getPackage()

Fossology\UI\Api\Models\Analysis::getPackage ( )
Returns
boolean

Definition at line 277 of file Analysis.php.

◆ getReso()

Fossology\UI\Api\Models\Analysis::getReso ( )
Returns
boolean

Definition at line 269 of file Analysis.php.

◆ setBucket()

Fossology\UI\Api\Models\Analysis::setBucket (   $bucket)
Parameters
boolean$bucket

Definition at line 294 of file Analysis.php.

◆ setCompatibility()

Fossology\UI\Api\Models\Analysis::setCompatibility (   $compatibility)
Parameters
bool$compatibility

Definition at line 374 of file Analysis.php.

◆ setCopyright()

Fossology\UI\Api\Models\Analysis::setCopyright (   $copyright)
Parameters
boolean$copyright

Definition at line 302 of file Analysis.php.

◆ setEcc()

Fossology\UI\Api\Models\Analysis::setEcc (   $ecc)
Parameters
boolean$ecc

Definition at line 310 of file Analysis.php.

◆ setKeyword()

Fossology\UI\Api\Models\Analysis::setKeyword (   $keyword)
Parameters
boolean$keyword

Definition at line 318 of file Analysis.php.

◆ setMime()

Fossology\UI\Api\Models\Analysis::setMime (   $mime)
Parameters
boolean$mime

Definition at line 326 of file Analysis.php.

◆ setMonk()

Fossology\UI\Api\Models\Analysis::setMonk (   $monk)
Parameters
boolean$monk

Definition at line 334 of file Analysis.php.

◆ setNomos()

Fossology\UI\Api\Models\Analysis::setNomos (   $nomos)
Parameters
boolean$nomos

Definition at line 342 of file Analysis.php.

◆ setOjo()

Fossology\UI\Api\Models\Analysis::setOjo (   $ojo)
Parameters
boolean$ojo

Definition at line 350 of file Analysis.php.

◆ setPackage()

Fossology\UI\Api\Models\Analysis::setPackage (   $package)
Parameters
boolean$package

Definition at line 366 of file Analysis.php.

◆ setReso()

Fossology\UI\Api\Models\Analysis::setReso (   $reso)
Parameters
boolean$reso

Definition at line 358 of file Analysis.php.

◆ setUsingArray()

Fossology\UI\Api\Models\Analysis::setUsingArray (   $analysisArray,
  $version = ApiVersion::V1 
)

Set the values of Analysis based on associative array

Parameters
array$analysisArrayAssociative boolean array
Returns
Analysis Current object

Definition at line 114 of file Analysis.php.

◆ setUsingString()

Fossology\UI\Api\Models\Analysis::setUsingString (   $analysisString)

Set the values of Analysis based on string from DB

Parameters
string$analysisStringString from DB settings
Returns
Analysis Current object

Definition at line 163 of file Analysis.php.

Member Data Documentation

◆ $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 76 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.

◆ $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 71 of file Analysis.php.


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