HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
JobStatus Class Reference

Static Public Member Functions

static getStatus ($statusId)
static getStatusName ($statusId)

Public Attributes

const ENQUEUED = 1
const RUNNING = 2
const SUCCESS = 3
const ERROR = 4
const PAUSED = 6
const EXCEPTION = 7

Static Public Attributes

static $types

Detailed Description

Definition at line 3 of file JobStatus.php.

Member Function Documentation

static JobStatus::getStatus (   $statusId)
static

Returns status.

Parameters
integer$statusId
Returns
array

Definition at line 32 of file JobStatus.php.

Here is the caller graph for this function:

static JobStatus::getStatusName (   $statusId)
static

Returns status name.

Parameters
integer$statusId
Returns
string

Definition at line 46 of file JobStatus.php.

Here is the call graph for this function:

Member Data Documentation

JobStatus::$types
static
Initial value:
array(
self::ENQUEUED => array('name' => 'Enqueued'),
self::RUNNING => array('name' => 'Running'),
self::SUCCESS => array('name' => 'Success'),
self::ERROR => array('name' => 'Error'),
self::PAUSED => array('name' => 'Paused'),
self::EXCEPTION => array('name' => 'Exception'),
)

Definition at line 16 of file JobStatus.php.

const JobStatus::ENQUEUED = 1

Jobs statuses.

Definition at line 8 of file JobStatus.php.

const JobStatus::ERROR = 4

Definition at line 11 of file JobStatus.php.

const JobStatus::EXCEPTION = 7

Definition at line 14 of file JobStatus.php.

const JobStatus::PAUSED = 6

Definition at line 13 of file JobStatus.php.

const JobStatus::RUNNING = 2

Definition at line 9 of file JobStatus.php.

const JobStatus::SUCCESS = 3

Definition at line 10 of file JobStatus.php.


The documentation for this class was generated from the following file: