Differential D14985 Diff 36204 src/infrastructure/daemon/workers/storage/PhabricatorWorkerBulkJob.php
Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/daemon/workers/storage/PhabricatorWorkerBulkJob.php
| Show First 20 Lines • Show All 124 Lines • ▼ Show 20 Lines | $map = array( | ||||
| self::STATUS_WAITING => pht('Waiting'), | self::STATUS_WAITING => pht('Waiting'), | ||||
| self::STATUS_RUNNING => pht('Running'), | self::STATUS_RUNNING => pht('Running'), | ||||
| self::STATUS_COMPLETE => pht('Complete'), | self::STATUS_COMPLETE => pht('Complete'), | ||||
| ); | ); | ||||
| return idx($map, $this->getStatus(), $this->getStatus()); | return idx($map, $this->getStatus(), $this->getStatus()); | ||||
| } | } | ||||
| public function isConfirming() { | |||||
| return ($this->getStatus() == self::STATUS_CONFIRM); | |||||
| } | |||||
| /* -( Job Implementation )------------------------------------------------- */ | /* -( Job Implementation )------------------------------------------------- */ | ||||
| protected function getJobImplementation() { | protected function getJobImplementation() { | ||||
| return $this->assertAttached($this->jobImplementation); | return $this->assertAttached($this->jobImplementation); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 132 Lines • Show Last 20 Lines | |||||