Page MenuHomePhabricator

final class HarbormasterBuildable
Phabricator Technical Documentation (Harbormaster)

This class is not documented.

Tasks

Configuring Storage

Other Methods

Methods

public static function pushStorageNamespace($namespace)
Inherited

This method is not documented.
Parameters
$namespace
Return
wild

public static function popStorageNamespace()
Inherited

This method is not documented.
Return
wild

public static function getDefaultStorageNamespace()
Inherited

This method is not documented.
Return
wild

public static function getStorageNamespace()
Inherited

This method is not documented.
Return
wild

public function setForcedStorageNamespace($namespace)
Inherited

This method is not documented.
Parameters
$namespace
Return
wild

protected function establishLiveConnection($mode)
Inherited

This method is not documented.
Parameters
$mode
Return
wild

private function newClusterConnection($application, $database, $mode)
Inherited

This method is not documented.
Parameters
$application
$database
$mode
Return
wild

private function raiseImproperWrite($database)
Inherited

This method is not documented.
Parameters
$database
Return
wild

private function raiseImpossibleWrite($database)
Inherited

This method is not documented.
Parameters
$database
Return
wild

private function raiseUnconfigured($database)
Inherited

This method is not documented.
Parameters
$database
Return
wild

private function raiseUnreachable($database, $proxy)
Inherited

This method is not documented.
Parameters
$database
Exception$proxy
Return
wild

public function getTableName()
Inherited

This method is not documented.
Return
wild

public function getApplicationName()
Inherited

This method is not documented.
Return
wild

protected function getDatabaseName()
Inherited

This method is not documented.
Return
wild

public static function chunkSQL($fragments, $limit)
Inherited

PhabricatorLiskDAO

Break a list of escaped SQL statement fragments (e.g., VALUES lists for INSERT, previously built with qsprintf()) into chunks which will fit under the MySQL 'max_allowed_packet' limit.

If a statement is too large to fit within the limit, it is broken into its own chunk (but might fail when the query executes).

Parameters
array$fragments
$limit
Return
wild

protected function assertAttached($property)
Inherited

This method is not documented.
Parameters
$property
Return
wild

protected function assertAttachedKey($value, $key)
Inherited

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

protected function detectEncodingForStorage($string)
Inherited

This method is not documented.
Parameters
$string
Return
wild

protected function getUTF8StringFromStorage($string, $encoding)
Inherited

This method is not documented.
Parameters
$string
$encoding
Return
wild

protected function willReadData(&$data)
Inherited

This method is not documented.
Parameters
array&$data
Return
wild

protected function willWriteData(&$data)
Inherited

This method is not documented.
Parameters
array&$data
Return
wild

public static function initializeNewBuildable($actor)

This method is not documented.
Parameters
PhabricatorUser$actor
Return
wild

public function getMonogram()

This method is not documented.
Return
wild

public function getURI()

This method is not documented.
Return
wild

public static function createOrLoadExisting($actor, $buildable_object_phid, $container_object_phid)

Returns an existing buildable for the object's PHID or creates a new buildable implicitly if needed.

Parameters
PhabricatorUser$actor
$buildable_object_phid
$container_object_phid
Return
wild

public static function applyBuildPlans($phid, $container_phid, $requests)

Start builds for a given buildable.

Parameters
phid$phidPHID of the object to build.
phid$container_phidContainer PHID for the buildable.
list<HarbormasterBuildRequest>$requestsList of builds to perform.
Return
void

public function applyPlan($plan, $parameters, $initiator_phid)

This method is not documented.
Parameters
HarbormasterBuildPlan$plan
array$parameters
$initiator_phid
Return
wild

protected function getConfiguration()

This method is not documented.
Return
wild

public function generatePHID()

This method is not documented.
Return
wild

public function attachBuildableObject($buildable_object)

This method is not documented.
Parameters
$buildable_object
Return
wild

public function getBuildableObject()

This method is not documented.
Return
wild

public function attachContainerObject($container_object)

This method is not documented.
Parameters
$container_object
Return
wild

public function getContainerObject()

This method is not documented.
Return
wild

public function attachBuilds($builds)

This method is not documented.
Parameters
array$builds
Return
wild

public function getBuilds()

This method is not documented.
Return
wild

public function getBuildableStatusObject()

This method is not documented.
Return
wild

public function getStatusIcon()

This method is not documented.
Return
wild

public function getStatusDisplayName()

This method is not documented.
Return
wild

public function getStatusColor()

This method is not documented.
Return
wild

public function isPreparing()

This method is not documented.
Return
wild

public function isBuilding()

This method is not documented.
Return
wild

public function sendMessage($viewer, $message_type, $queue_update)

This method is not documented.
Parameters
PhabricatorUser$viewer
$message_type
$queue_update
Return
wild
This method is not documented.
Return
wild
This method is not documented.
Return
wild

public function getCapabilities()

This method is not documented.
Return
wild

public function getPolicy($capability)

This method is not documented.
Parameters
$capability
Return
wild

public function hasAutomaticCapability($capability, $viewer)

This method is not documented.
Parameters
$capability
PhabricatorUser$viewer
Return
wild

public function describeAutomaticCapability($capability)

This method is not documented.
Parameters
$capability
Return
wild
This method is not documented.
Return
wild
This method is not documented.
Return
wild
This method is not documented.
Return
wild

public function getBuildVariables()

This method is not documented.
Return
wild

public function getAvailableBuildVariables()

This method is not documented.
Return
wild

public function newBuildableEngine()

This method is not documented.
Return
wild
This method is not documented.
Return
wild

public function getFieldValuesForConduit()

This method is not documented.
Return
wild

public function getConduitSearchAttachments()

This method is not documented.
Return
wild

public function destroyObjectPermanently($engine)

This method is not documented.
Parameters
PhabricatorDestructionEngine$engine
Return
wild