PHP Class TaskRunFile

Author: mult1mate Date: 10.04.16 Time: 13:39
Inheritance: implements mult1mate\crontab\TaskRunInterface
Afficher le fichier Open project: MUlt1mate/cron-manager

Protected Properties

Свойство Type Description
$execution_time
$log_name string Default log file name
$logs_folder string Folder with logs files. Should exists
$output
$status
$task_id
$ts

Méthodes publiques

Méthode Description
getExecutionTime ( ) : integer
getOutput ( ) : string
getStatus ( ) : string
getTaskId ( ) : integer
getTaskRunId ( ) : integer
getTs ( ) : string
saveTaskRun ( ) : boolean Writes log in file. Do NOT actually saves the task run
setExecutionTime ( integer $execution_time )
setOutput ( string $output )
setStatus ( string $status )
setTaskId ( integer $task_id )
setTs ( string $ts )

Method Details

getExecutionTime() public méthode

public getExecutionTime ( ) : integer
Résultat integer

getOutput() public méthode

public getOutput ( ) : string
Résultat string

getStatus() public méthode

public getStatus ( ) : string
Résultat string

getTaskId() public méthode

public getTaskId ( ) : integer
Résultat integer

getTaskRunId() public méthode

public getTaskRunId ( ) : integer
Résultat integer

getTs() public méthode

public getTs ( ) : string
Résultat string

saveTaskRun() public méthode

Writes log in file. Do NOT actually saves the task run
public saveTaskRun ( ) : boolean
Résultat boolean

setExecutionTime() public méthode

public setExecutionTime ( integer $execution_time )
$execution_time integer

setOutput() public méthode

public setOutput ( string $output )
$output string

setStatus() public méthode

public setStatus ( string $status )
$status string

setTaskId() public méthode

public setTaskId ( integer $task_id )
$task_id integer

setTs() public méthode

public setTs ( string $ts )
$ts string

Property Details

$execution_time protected_oe property

protected $execution_time

$log_name protected_oe property

Default log file name
protected string $log_name
Résultat string

$logs_folder protected_oe property

Folder with logs files. Should exists
protected string $logs_folder
Résultat string

$output protected_oe property

protected $output

$status protected_oe property

protected $status

$task_id protected_oe property

protected $task_id

$ts protected_oe property

protected $ts