Page MenuHomePhabricator
Diviner Phabricator Tech Docs DrydockRepositoryOperation

final class DrydockRepositoryOperation
Phabricator Technical Documentation (Drydock)

Represents a request to perform a repository operation like a merge or cherry-pick.

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 initializeNewOperation($op)

This method is not documented.
Parameters
DrydockRepositoryOperationType$op
Return
wild

protected function getConfiguration()

This method is not documented.
Return
wild

public function generatePHID()

This method is not documented.
Return
wild

public function attachRepository($repository)

This method is not documented.
Parameters
PhabricatorRepository$repository
Return
wild

public function getRepository()

This method is not documented.
Return
wild

public function attachObject($object)

This method is not documented.
Parameters
$object
Return
wild

public function getObject()

This method is not documented.
Return
wild

public function attachImplementation($impl)

This method is not documented.
Parameters
DrydockRepositoryOperationType$impl
Return
wild

public function getImplementation()

This method is not documented.
Return
wild

public function getWorkingCopyLease()

This method is not documented.
Return
wild

public function attachWorkingCopyLease($lease)

This method is not documented.
Parameters
DrydockLease$lease
Return
wild

public function hasWorkingCopyLease()

This method is not documented.
Return
wild

public function getProperty($key, $default)

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

public function setProperty($key, $value)

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

public static function getOperationStateNameMap()

This method is not documented.
Return
wild

public static function getOperationStateIcon($state)

This method is not documented.
Parameters
$state
Return
wild

public static function getOperationStateName($state)

This method is not documented.
Parameters
$state
Return
wild

public function scheduleUpdate()

This method is not documented.
Return
wild

public function applyOperation($interface)

This method is not documented.
Parameters
DrydockInterface$interface
Return
wild

public function getOperationDescription($viewer)

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

public function getOperationCurrentStatus($viewer)

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

public function isUnderway()

This method is not documented.
Return
wild

public function isDone()

This method is not documented.
Return
wild

public function getWorkingCopyMerges()

This method is not documented.
Return
wild

public function setWorkingCopyLeasePHID($lease_phid)

This method is not documented.
Parameters
$lease_phid
Return
wild

public function getWorkingCopyLeasePHID()

This method is not documented.
Return
wild

public function setCommandError($error)

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

public function getCommandError()

This method is not documented.
Return
wild

public function logText($text)

This method is not documented.
Parameters
$text
Return
wild

public function logEvent($type, $data)

This method is not documented.
Parameters
$type
array$data
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

private function getRequiredRepositoryCapability($capability)

This method is not documented.
Parameters
$capability
Return
wild