PHP Class AppserverIo\Appserver\Core\Api\ScannerService

Inheritance: extends AppserverIo\Appserver\Core\Api\AbstractFileOperationService
Show file Open project: appserver-io/appserver

Public Methods

Method Description
findAll ( ) : array Initializes the available CRON configurations and returns them.
load ( integer $uuid ) : AppserverIo\Configuration\Interfaces\NodeInterface Returns the node with the passed UUID.

Protected Methods

Method Description
resolvePath ( string $webappPath, string $path = null ) : string Resolves the passed path. If the passed path is NULL, the webapp path is used, if the passed path is relative, the webapp path is prepended.

Method Details

findAll() public method

Initializes the available CRON configurations and returns them.
public findAll ( ) : array
return array The array with the available CRON configurations

load() public method

Returns the node with the passed UUID.
public load ( integer $uuid ) : AppserverIo\Configuration\Interfaces\NodeInterface
$uuid integer UUID of the node to return
return AppserverIo\Configuration\Interfaces\NodeInterface The node with the UUID passed as parameter

resolvePath() protected method

Resolves the passed path. If the passed path is NULL, the webapp path is used, if the passed path is relative, the webapp path is prepended.
protected resolvePath ( string $webappPath, string $path = null ) : string
$webappPath string The absolute path to the webapp
$path string The path to be resolved
return string The resolved path