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 Mon Sep 25 07:10:26 2017