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

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

Public Methods

Method 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 method

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

getJobs() public method

Array with the jobs.
public getJobs ( ) : array
return array

merge() public method

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

setJobs() public method

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