PHP Interface AppserverIo\Appserver\Core\Api\Node\CronNodeInterface

Author: Tim Wagner ([email protected])
Author: Johann Zelger ([email protected])
Inheritance: extends AppserverIo\Configuration\Interfaces\NodeInterface
Afficher le fichier Open project: appserver-io/appserver

Méthodes publiques

Méthode Description
getJob ( string $name ) : mixed Returns the job with the passed name.
getJobs ( ) : array Array with the jobs.
merge ( CronNode $cronNode ) : void This method merges the passed CRON node with this one
setJobs ( array $jobs ) : void Array with the jobs to set.

Method Details

getJob() public méthode

Returns the job with the passed name.
public getJob ( string $name ) : mixed
$name string The name of the job to be returned
Résultat mixed The requested job

getJobs() public méthode

Array with the jobs.
public getJobs ( ) : array
Résultat array

merge() public méthode

This method merges the passed CRON node with this one
public merge ( CronNode $cronNode ) : void
$cronNode CronNode The node to merge
Résultat void

setJobs() public méthode

Array with the jobs to set.
public setJobs ( array $jobs ) : void
$jobs array The jobs to set
Résultat void