public function __get($name)Inherited
$name |
wild |
public function __set($name, $value)Inherited
$name | ||
$value |
wild |
public function current()Inherited
wild |
public function key()Inherited
wild |
public function next()Inherited
wild |
public function rewind()Inherited
wild |
public function valid()Inherited
wild |
private function throwOnAttemptedIteration()Inherited
wild |
public function getPhobjectClassConstant($key, $byte_limit)Inherited
Read the value of a class constant.
This is the same as just typing self::CONSTANTNAME, but throws a more useful message if the constant is not defined and allows the constant to be limited to a maximum length.
string | $key | Name of the constant. |
int|null | $byte_limit | Maximum number of bytes permitted in the value. |
string | Value of the constant. |
public function setForceBuildableUpdate($force_buildable_update)
$force_buildable_update |
wild |
public function shouldForceBuildableUpdate()
wild |
public function queueNewBuildTarget($target)
HarbormasterBuildTarget | $target |
wild |
public function getNewBuildTargets()
wild |
public function setViewer($viewer)
PhabricatorUser | $viewer |
wild |
public function getViewer()
wild |
public function setBuild($build)
HarbormasterBuild | $build |
wild |
public function getBuild()
wild |
public function continueBuild()
wild |
private function updateBuild($build)
HarbormasterBuild | $build |
wild |
private function updateBuildSteps($build)
HarbormasterBuild | $build |
wild |
private function releaseUnusedArtifacts($targets, $steps)
Release any artifacts which aren't used by any running or waiting steps.
This releases artifacts as soon as they're no longer used. This can be particularly relevant when a build uses multiple hosts since it returns hosts to the pool more quickly.
list<HarbormasterBuildTarget> | $targets | Targets in the build. |
list<HarbormasterBuildStep> | $steps | List of running and waiting steps. |
void |
private function updateWaitingTargets($targets)
Process messages which were sent to these targets, kicking applicable targets out of "Waiting" and into either "Passed" or "Failed".
list<HarbormasterBuildTarget> | $targets | List of targets to process. |
void |
public function updateBuildable($buildable)
Update the overall status of the buildable this build is attached to.
After a build changes state (for example, passes or fails) it may affect the overall state of the associated buildable. Compute the new aggregate state and save it on the buildable.
HarbormasterBuild | $buildable | The buildable to update. |
void |
public function publishBuildable($old, $new)
HarbormasterBuildable | $old | |
HarbormasterBuildable | $new |
wild |
private function releaseQueuedArtifacts()
wild |