Changeset View
Changeset View
Standalone View
Standalone View
src/repository/marker/ArcanistMarkerRef.php
| Show First 20 Lines • Show All 103 Lines • ▼ Show 20 Lines | public function setIsActive($is_active) { | ||||
| $this->isActive = $is_active; | $this->isActive = $is_active; | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| public function getIsActive() { | public function getIsActive() { | ||||
| return $this->isActive; | return $this->isActive; | ||||
| } | } | ||||
| public function isBookmark() { | |||||
| return ($this->getMarkerType() === self::TYPE_BOOKMARK); | |||||
| } | |||||
| public function isBranch() { | |||||
| return ($this->getMarkerType() === self::TYPE_BRANCH); | |||||
| } | |||||
| public function attachCommitRef(ArcanistCommitRef $ref) { | public function attachCommitRef(ArcanistCommitRef $ref) { | ||||
| return $this->attachHardpoint(self::HARDPOINT_COMMITREF, $ref); | return $this->attachHardpoint(self::HARDPOINT_COMMITREF, $ref); | ||||
| } | } | ||||
| public function getCommitRef() { | public function getCommitRef() { | ||||
| return $this->getHardpoint(self::HARDPOINT_COMMITREF); | return $this->getHardpoint(self::HARDPOINT_COMMITREF); | ||||
| } | } | ||||
| } | } | ||||