|
| __construct ($id, $shortName="", $fullName="", $text="", $url="", $sources=[], $acknowledgement="", $comment="", $isMainLicense=false, $obligations=null, $risk=null, $isRemoved=false, $isCandidate=false) |
|
| getJSON () |
|
| getArray () |
|
| getSources () |
|
| setSources (array $sources) |
|
| getAcknowledgement () |
|
| setAcknowledgement (string $acknowledgement) |
|
| getComment () |
|
| setComment (string $comment) |
|
| setIsRemoved (bool $isRemoved) |
|
| getIsRemoved () |
|
| getIsMainLicense () |
|
| setIsMainLicense (bool $isMainLicense) |
|
| __construct ( $id, $shortName="", $fullName="", $text="", $url="", $obligations=null, $risk=null, $isCandidate=false) |
|
| getId () |
|
| getShortName () |
|
| getFullName () |
|
| getText () |
|
| getUrl () |
|
| getRisk () |
|
| getIsCandidate () |
|
| getObligations () |
|
| getMergeRequest () |
|
| setShortName ($shortName) |
|
| setFullName ($fullName) |
|
| setText ($text) |
|
| setUrl ($url) |
|
| setRisk ($risk) |
|
| setIsCandidate ($isCandidate) |
|
| setObligations ($obligations) |
|
| addObligation ($obligation) |
|
| setMergeRequest ($mergeRequest) |
|
|
const | ALLOWED_KEYS |
|
const | ALLOWED_KEYS |
|
Definition at line 22 of file LicenseDecision.php.
◆ __construct()
Fossology\UI\Api\Models\LicenseDecision::__construct |
( |
|
$id, |
|
|
|
$shortName = "" , |
|
|
|
$fullName = "" , |
|
|
|
$text = "" , |
|
|
|
$url = "" , |
|
|
|
$sources = [] , |
|
|
|
$acknowledgement = "" , |
|
|
|
$comment = "" , |
|
|
|
$isMainLicense = false , |
|
|
|
$obligations = null , |
|
|
|
$risk = null , |
|
|
|
$isRemoved = false , |
|
|
|
$isCandidate = false |
|
) |
| |
- Parameters
-
array | $sources | |
string | $acknowledgement | |
string | $comment | |
Definition at line 64 of file LicenseDecision.php.
◆ getAcknowledgement()
Fossology\UI\Api\Models\LicenseDecision::getAcknowledgement |
( |
| ) |
|
◆ getArray()
Fossology\UI\Api\Models\LicenseDecision::getArray |
( |
| ) |
|
◆ getComment()
Fossology\UI\Api\Models\LicenseDecision::getComment |
( |
| ) |
|
◆ getIsMainLicense()
Fossology\UI\Api\Models\LicenseDecision::getIsMainLicense |
( |
| ) |
|
◆ getIsRemoved()
Fossology\UI\Api\Models\LicenseDecision::getIsRemoved |
( |
| ) |
|
◆ getJSON()
Fossology\UI\Api\Models\LicenseDecision::getJSON |
( |
| ) |
|
◆ getSources()
Fossology\UI\Api\Models\LicenseDecision::getSources |
( |
| ) |
|
◆ setAcknowledgement()
Fossology\UI\Api\Models\LicenseDecision::setAcknowledgement |
( |
string |
$acknowledgement | ) |
|
◆ setComment()
Fossology\UI\Api\Models\LicenseDecision::setComment |
( |
string |
$comment | ) |
|
◆ setIsMainLicense()
Fossology\UI\Api\Models\LicenseDecision::setIsMainLicense |
( |
bool |
$isMainLicense | ) |
|
◆ setIsRemoved()
Fossology\UI\Api\Models\LicenseDecision::setIsRemoved |
( |
bool |
$isRemoved | ) |
|
◆ setSources()
Fossology\UI\Api\Models\LicenseDecision::setSources |
( |
array |
$sources | ) |
|
◆ $acknowledgement
string Fossology\UI\Api\Models\LicenseDecision::$acknowledgement |
|
private |
◆ $comment
string Fossology\UI\Api\Models\LicenseDecision::$comment |
|
private |
◆ $isMainLicense
bool Fossology\UI\Api\Models\LicenseDecision::$isMainLicense |
|
private |
◆ $isRemoved
bool Fossology\UI\Api\Models\LicenseDecision::$isRemoved |
|
private |
◆ $sources
array Fossology\UI\Api\Models\LicenseDecision::$sources |
|
private |
◆ ALLOWED_KEYS
const Fossology\UI\Api\Models\LicenseDecision::ALLOWED_KEYS |
Initial value:= ['shortName', 'fullName', 'text', 'url', 'risk',
'isCandidate', 'mergeRequest', 'source', 'acknowledgement', 'comment']
Definition at line 28 of file LicenseDecision.php.
The documentation for this class was generated from the following file: