Page MenuHomePhabricator
Diviner Phabricator Tech Docs HarbormasterLeaseWorkingCopyBuildStepImplementation

final class HarbormasterLeaseWorkingCopyBuildStepImplementation
Phabricator Technical Documentation (Harbormaster)

This class is not documented.

Tasks

Automatic Targets

No methods for this task.

Other Methods

Methods

public function setCurrentWorkerTaskID($id)
Inherited

This method is not documented.
Parameters
$id
Return
wild

public function getCurrentWorkerTaskID()
Inherited

This method is not documented.
Return
wild

public static function getImplementations()
Inherited

This method is not documented.
Return
wild

public static function getImplementation($class)
Inherited

This method is not documented.
Parameters
$class
Return
wild

public static function requireImplementation($class)
Inherited

This method is not documented.
Parameters
$class
Return
wild

public function getName()

HarbormasterBuildStepImplementation

The name of the implementation.

HarbormasterLeaseWorkingCopyBuildStepImplementation
This method is not documented.
Return
wild

public function getBuildStepGroupKey()

This method is not documented.
Return
wild

public function getGenericDescription()

HarbormasterBuildStepImplementation

The generic description of the implementation.

HarbormasterLeaseWorkingCopyBuildStepImplementation
This method is not documented.
Return
wild

public function getDescription()
Inherited

HarbormasterBuildStepImplementation

The description of the implementation, based on the current settings.

Return
wild

public function getEditInstructions()
Inherited

This method is not documented.
Return
wild

public function execute($build, $build_target)

HarbormasterBuildStepImplementation

Run the build target against the specified build.

HarbormasterLeaseWorkingCopyBuildStepImplementation
This method is not documented.
Parameters
HarbormasterBuild$build
HarbormasterBuildTarget$build_target
Return
wild

public function getSettings()
Inherited

HarbormasterBuildStepImplementation

Gets the settings for this build step.

Return
wild

public function getSetting($key, $default)
Inherited

This method is not documented.
Parameters
$key
$default
Return
wild

final public function loadSettings($build_object)
Inherited

HarbormasterBuildStepImplementation

Loads the settings for this build step implementation from a build step or target.

Parameters
$build_object
Return
wild

public function getArtifactInputs()
Inherited

HarbormasterBuildStepImplementation

Return the name of artifacts produced by this command.

Future steps will calculate all available artifact mappings before them and filter on the type.

Return
arrayThe mappings of artifact names to their types.

public function getArtifactOutputs()

This method is not documented.
Return
wild

public function getDependencies($build_step)
Inherited

This method is not documented.
Parameters
HarbormasterBuildStep$build_step
Return
wild

public static function getAvailableArtifacts($build_plan, $current_build_step, $artifact_type)
Inherited

HarbormasterBuildStepImplementation

Returns a list of all artifacts made available in the build plan.

Parameters
HarbormasterBuildPlan$build_plan
$current_build_step
$artifact_type
Return
wild

protected function mergeVariables($function, $pattern, $variables)
Inherited

HarbormasterBuildStepImplementation

Convert a user-provided string with variables in it, like:

ls ${dirname}

...into a string with variables merged into it safely:

ls 'dir with spaces'
Parameters
string$functionName of a `vxsprintf` function, like @{function:vcsprintf}.
string$patternUser-provided pattern string containing `${variables}`.
dict$variablesList of available replacement variables.
Return
stringString with variables replaced safely into it.

public function getFieldSpecifications()

This method is not documented.
Return
wild

protected function formatSettingForDescription($key, $default)
Inherited

This method is not documented.
Parameters
$key
$default
Return
wild

protected function formatValueForDescription($value)
Inherited

This method is not documented.
Parameters
$value
Return
wild

public function supportsWaitForMessage()
Inherited

This method is not documented.
Return
wild

public function shouldWaitForMessage($target)
Inherited

This method is not documented.
Parameters
HarbormasterBuildTarget$target
Return
wild

protected function shouldAbort($build, $target)
Inherited

This method is not documented.
Parameters
HarbormasterBuild$build
HarbormasterBuildTarget$target
Return
wild

protected function resolveFutures($build, $target, $futures)
Inherited

This method is not documented.
Parameters
HarbormasterBuild$build
HarbormasterBuildTarget$target
array$futures
Return
wild

protected function logHTTPResponse($build, $build_target, $future, $label)
Inherited

This method is not documented.
Parameters
HarbormasterBuild$build
HarbormasterBuildTarget$build_target
BaseHTTPFuture$future
$label
Return
wild

protected function logSilencedCall($build, $build_target, $label)
Inherited

This method is not documented.
Parameters
HarbormasterBuild$build
HarbormasterBuildTarget$build_target
$label
Return
wild

public function willStartBuild($viewer, $buildable, $build, $plan, $step)
Inherited

This method is not documented.
Parameters
PhabricatorUser$viewer
HarbormasterBuildable$buildable
HarbormasterBuild$build
HarbormasterBuildPlan$plan
HarbormasterBuildStep$step
Return
wild

public function getBuildStepAutotargetStepKey()
Inherited

This method is not documented.
Return
wild

public function getBuildStepAutotargetPlanKey()
Inherited

This method is not documented.
Return
wild

public function shouldRequireAutotargeting()
Inherited

This method is not documented.
Return
wild

private function buildRepositoryMap($build_target)

This method is not documented.
Parameters
HarbormasterBuildTarget$build_target
Return
wild