Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

JobsToJobsCollectionViewUtil Class Reference

Static Public Member Functions

static getMonitorJobData ()
static getNonMonitorJobsData ()
static getNonMonitorJobClassNames ()

Data Fields

const STATUS_NOT_RUNNING = 1
const STATUS_IN_PROCESS_STUCK = 2
const STATUS_IN_PROCESS = 3
const NON_MONITOR_JOBS_CACHE_ID = 'NonMonitorJobsModelClassNames'

Static Protected Member Functions

static getJobDataByType ($type)
static getIfJobIsInProcessOtherwiseReturnNullByType ($type)
static makeLastCompletedRunEncodedContentByJobLog ($jobLog)
static makeStatusContentByJobInProcess ($jobInProcess)
static resolveStatusByJobInProcess ($jobInProcess)
static getLastCompletedJobLogByType ($type)

Detailed Description

A utility for getting information about jobs and putting into an array of data that is useful for the JobsCollectionView.

Definition at line 41 of file JobsToJobsCollectionViewUtil.php.


Member Function Documentation

static getMonitorJobData (  )  [static]
Returns:
array of data for the Monitor job. Includes information such as the display label, whether it is running or not, and the last completion time.

Definition at line 65 of file JobsToJobsCollectionViewUtil.php.

static getNonMonitorJobsData (  )  [static]
Returns:
array of data for jobs that are not the monitor job. Includes information such as the display label, whether it is running or not, and the last completion time.

Definition at line 74 of file JobsToJobsCollectionViewUtil.php.


Field Documentation

const STATUS_NOT_RUNNING = 1

Indicates a job is not currently In Process

Definition at line 46 of file JobsToJobsCollectionViewUtil.php.

Indicates a job is currently In Process and stuck based on it lasting longer than the threshold.

Definition at line 52 of file JobsToJobsCollectionViewUtil.php.

const STATUS_IN_PROCESS = 3

Indicates a job is currently In Process

Definition at line 57 of file JobsToJobsCollectionViewUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Jan 19 07:10:24 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8