FOSSology  4.4.0
Open Source License Compliance by Open Source Software
Fossology\UI\Api\Controllers\OneShotController Class Reference

Controller for OneShot Analysis. More...

Inheritance diagram for Fossology\UI\Api\Controllers\OneShotController:
Inheritance graph
Collaboration diagram for Fossology\UI\Api\Controllers\OneShotController:
Collaboration graph

Public Member Functions

 __construct ($container)
 
 runOneShotNomos ($request, $response, $args)
 
 runOneShotMonk ($request, $response, $args)
 
 runOneShotCEU ($request, $response, $args)
 

Public Attributes

const FILE_INPUT_NAME = 'fileInput'
 

Private Attributes

 $highlightProcessor
 
 $licenseDao
 

Additional Inherited Members

- Protected Member Functions inherited from Fossology\UI\Api\Controllers\RestController
 getParsedBody (ServerRequestInterface $request)
 Parse request body as JSON and return associative PHP array. More...
 
 throwNotAdminException ()
 
 uploadAccessible ($id)
 
 isItemExists (int $uploadId, int $itemId)
 
- Protected Attributes inherited from Fossology\UI\Api\Controllers\RestController
 $container
 
 $restHelper
 
 $dbHelper
 

Detailed Description

Controller for OneShot Analysis.

Definition at line 27 of file OneShotController.php.

Constructor & Destructor Documentation

◆ __construct()

Fossology\UI\Api\Controllers\OneShotController::__construct (   $container)

Constructor for base controller

Parameters
ContainerInterface$container

Reimplemented from Fossology\UI\Api\Controllers\RestController.

Definition at line 37 of file OneShotController.php.

Member Function Documentation

◆ runOneShotCEU()

Fossology\UI\Api\Controllers\OneShotController::runOneShotCEU (   $request,
  $response,
  $args 
)

Run OneShot Analysis for Copyright, Email, URL

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper
Exceptions
HttpBadRequestException

Definition at line 128 of file OneShotController.php.

◆ runOneShotMonk()

Fossology\UI\Api\Controllers\OneShotController::runOneShotMonk (   $request,
  $response,
  $args 
)

Run OneShot Analysis using Monk

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper
Exceptions
HttpBadRequestException

Definition at line 97 of file OneShotController.php.

◆ runOneShotNomos()

Fossology\UI\Api\Controllers\OneShotController::runOneShotNomos (   $request,
  $response,
  $args 
)

Run OneShot Analysis using Nomos

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper
Exceptions
HttpBadRequestException

Definition at line 53 of file OneShotController.php.


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