Changeset View
Changeset View
Standalone View
Standalone View
src/workflow/ArcanistWorkflow.php
Show First 20 Lines • Show All 2,067 Lines • ▼ Show 20 Lines | final public function setConduitEngine( | ||||
$this->conduitEngine = $conduit_engine; | $this->conduitEngine = $conduit_engine; | ||||
return $this; | return $this; | ||||
} | } | ||||
final public function getConduitEngine() { | final public function getConduitEngine() { | ||||
return $this->conduitEngine; | return $this->conduitEngine; | ||||
} | } | ||||
final protected function newWorkingCopyStateRef() { | |||||
return new ArcanistWorkingCopyStateRef(); | |||||
} | |||||
final protected function newRefQuery(array $refs) { | |||||
assert_instances_of($refs, 'ArcanistRef'); | |||||
return id(new ArcanistRefQuery()) | |||||
->setRepositoryAPI($this->getRepositoryAPI()) | |||||
->setConduitEngine($this->getConduitEngine()) | |||||
->setRefs($refs); | |||||
} | |||||
} | } |