CycloneDX JavaScript Library - Web - v9.4.0
Preparing search index...
Contrib
License
Factories
LicenseFactory
Class LicenseFactory
Hierarchy (
View Summary
)
LicenseFactory
Factories
.
LicenseFactory
Index
Constructors
constructor
Methods
make
Disjunctive
make
Expression
make
From
String
make
Named
License
make
Spdx
License
Constructors
constructor
new
LicenseFactory
()
:
Contrib
.
License
.
Factories
.
LicenseFactory
Returns
Contrib
.
License
.
Factories
.
LicenseFactory
Methods
make
Disjunctive
makeDisjunctive
(
value
:
string
)
:
DisjunctiveLicense
Parameters
value
:
string
Returns
DisjunctiveLicense
make
Expression
makeExpression
(
value
:
any
)
:
Models
.
LicenseExpression
Parameters
value
:
any
Returns
Models
.
LicenseExpression
Throws
RangeError if expression is not eligible
make
From
String
makeFromString
(
value
:
string
)
:
Models
.
License
Parameters
value
:
string
Returns
Models
.
License
make
Named
License
makeNamedLicense
(
value
:
any
)
:
Models
.
NamedLicense
Parameters
value
:
any
Returns
Models
.
NamedLicense
make
Spdx
License
makeSpdxLicense
(
value
:
any
)
:
Models
.
SpdxLicense
Parameters
value
:
any
Returns
Models
.
SpdxLicense
Throws
RangeError if value is not supported SPDX id
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
make
Disjunctive
make
Expression
make
From
String
make
Named
License
make
Spdx
License
CycloneDX JavaScript Library - Web - v9.4.0
Loading...
Throws
RangeError if expression is not eligible