Differential D17133 Diff 41202 src/applications/differential/xaction/DifferentialRevisionReclaimTransaction.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/xaction/DifferentialRevisionReclaimTransaction.php
| Show All 20 Lines | final class DifferentialRevisionReclaimTransaction | ||||
| public function getColor() { | public function getColor() { | ||||
| return 'sky'; | return 'sky'; | ||||
| } | } | ||||
| protected function getRevisionActionOrder() { | protected function getRevisionActionOrder() { | ||||
| return 600; | return 600; | ||||
| } | } | ||||
| public function getCommandKeyword() { | |||||
| return 'reclaim'; | |||||
| } | |||||
| public function getCommandAliases() { | |||||
| return array(); | |||||
| } | |||||
| public function getCommandSummary() { | |||||
| return pht('Reclaim a revision.'); | |||||
| } | |||||
| public function generateOldValue($object) { | public function generateOldValue($object) { | ||||
| return !$object->isAbandoned(); | return !$object->isAbandoned(); | ||||
| } | } | ||||
| public function applyInternalEffects($object, $value) { | public function applyInternalEffects($object, $value) { | ||||
| $object->setStatus(ArcanistDifferentialRevisionStatus::NEEDS_REVIEW); | $object->setStatus(ArcanistDifferentialRevisionStatus::NEEDS_REVIEW); | ||||
| } | } | ||||
| Show All 30 Lines | |||||