Options
All
  • Public
  • Public/Protected
  • All
Menu

Class License

Details of a license used by a third party library in W.I.S.E..

Hierarchy

  • License

Index

Constructors

Private constructor

Properties

components

components: Array<ComponentType>

The W.I.S.E. components that the license is used in.

libraryName

libraryName: string

The name of the third party library.

libraryUrl

libraryUrl: string

A URL to the libraries homepage.

licenseName

licenseName: string

The name of the license used by the library.

licenseUrl

licenseUrl: string

A URL to the location where the license details can be viewed.

Methods

Static getLicenses

  • getLicenses(callback?: (licenses: Array<License>) => any, error?: (message: any) => any): void
  • Get the list of licenses used by the various W.I.S.E. components.

    Parameters

    • Optional callback: (licenses: Array<License>) => any

      A method that will be called with the results of the license lookup.

        • Parameters

          Returns any

    • Optional error: (message: any) => any

      A method that will be called if the license lookup failed.

        • (message: any): any
        • Parameters

          • message: any

          Returns any

    Returns void

Static getLicensesPromise

  • getLicensesPromise(): Promise<Array<License>>
  • Asynchronously get the list of licenses used by the various W.I.S.E. components.

    Returns Promise<Array<License>>

Static Private parseComponents