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. |
final public function __construct()Inherited
this | //Implicit.// |
public function setName($name)Inherited
$name |
wild |
public function getName()Inherited
wild |
final public function setExamples($examples)Inherited
Provide brief usage examples of common calling conventions, like:
$workflow->setExamples("**delete** __file__ [__options__]");
This text is shown in both brief and detailed help, and should give the user a quick reference for common uses. You can separate several common uses with newlines, but usually should not provide more than 2-3 examples.
$examples |
wild |
final public function getExamples()Inherited
wild |
final public function setSynopsis($synopsis)Inherited
Provide a brief description of the command, like "Delete a file.".
This text is shown in both brief and detailed help, and should give the user a general idea of what the workflow does.
$synopsis |
wild |
final public function getSynopsis()Inherited
wild |
final public function getHelp()Inherited
Provide a full explanation of the command. This text is shown only in detailed help.
wild |
final public function setHelp($help)Inherited
$help |
wild |
final public function setArguments($specs)Inherited
array | $specs |
wild |
final public function getArguments()Inherited
wild |
final public function setArgv($argv)Inherited
PhutilArgumentParser | $argv |
wild |
final public function getArgv()Inherited
wild |
protected function didConstruct()
wild |
public function isExecutable()Inherited
wild |
final public function execute($args)Inherited
PhutilArgumentParser | $args |
wild |
public function shouldParsePartial()Inherited
Normally, workflow arguments are parsed fully, so unexpected arguments will raise an error. You can return true from this method to parse workflow arguments only partially. This will allow you to manually parse remaining arguments or delegate to a second level of workflows.
bool | True to partially parse workflow arguments (default false). |
public function setErrorChannel($error_channel)Inherited
PhutilChannel | $error_channel |
wild |
public function getErrorChannel()Inherited
wild |
public function setSSHUser($ssh_user)Inherited
PhabricatorUser | $ssh_user |
wild |
public function getSSHUser()Inherited
wild |
public function setIOChannel($channel)Inherited
PhutilChannel | $channel |
wild |
public function getIOChannel()Inherited
wild |
public function readAllInput()Inherited
wild |
public function writeIO($data)Inherited
$data |
wild |
public function writeErrorIO($data)Inherited
$data |
wild |
protected function newPassthruCommand()Inherited
wild |
public function setIsClusterRequest($is_cluster_request)Inherited
$is_cluster_request |
wild |
public function getIsClusterRequest()Inherited
wild |
public function setOriginalArguments($original_arguments)Inherited
array | $original_arguments |
wild |
public function getOriginalArguments()Inherited
wild |
public function setRequestIdentifier($request_identifier)Inherited
$request_identifier |
wild |
public function getRequestIdentifier()Inherited
wild |
public function getSSHRemoteAddress()Inherited
wild |
public function getRepository()Inherited
wild |
private function setRepository($repository)Inherited
PhabricatorRepository | $repository |
wild |
public function getArgs()Inherited
wild |
public function getEnvironment()Inherited
wild |
protected function identifyRepository()Inherited
Identify and load the affected repository.
wild |
protected function executeRepositoryOperations()
wild |
protected function raiseWrongVCSException($repository)Inherited
PhabricatorRepository | $repository |
wild |
protected function getBaseRequestPath()Inherited
wild |
protected function writeError($message)Inherited
$message |
wild |
protected function getCurrentDeviceName()Inherited
wild |
protected function shouldProxy()Inherited
wild |
final protected function getAlmanacServiceRefs($for_write)Inherited
$for_write |
wild |
final protected function getProxyCommand($for_write)Inherited
$for_write |
wild |
final protected function getProxyCommandForServiceRef($ref)Inherited
DiffusionServiceRef | $ref |
wild |
protected function loadRepositoryWithPath($path, $vcs)Inherited
$path | ||
$vcs |
wild |
protected function requireWriteAccess($protocol_command)Inherited
$protocol_command |
wild |
protected function shouldSkipReadSynchronization()Inherited
wild |
protected function newPullEvent()Inherited
wild |
public function writeClusterEngineLogMessage($message)Inherited
$message |
wild |
public function writeClusterEngineLogProperty($key, $value)Inherited
$key | ||
$value |
wild |
protected function getClusterEngineLogProperty($key, $default)Inherited
$key | ||
$default |
wild |
protected function waitForGitClient()Inherited
wild |
protected function newProtocolLog($is_proxy)Inherited
$is_proxy |
wild |
final protected function getProtocolLog()Inherited
wild |
final protected function setProtocolLog($log)Inherited
PhabricatorProtocolLog | $log |
wild |
final protected function getWireProtocol()Inherited
wild |
final protected function setWireProtocol($protocol)Inherited
DiffusionGitWireProtocol | $protocol |
wild |
public function willWriteMessageCallback($command, $message)Inherited
PhabricatorSSHPassthruCommand | $command | |
$message |
wild |
public function willReadMessageCallback($command, $message)Inherited
PhabricatorSSHPassthruCommand | $command | |
$message |
wild |
final protected function getIOBytesRead()Inherited
wild |
final protected function getIOBytesWritten()Inherited
wild |
final protected function executeRepositoryProxyOperations($for_write)Inherited
$for_write |
wild |
private function didBeginRequest()Inherited
wild |
private function shouldRetryRequest($remaining_refs)Inherited
array | $remaining_refs |
wild |
private function executeRepositoryCommand($command)
$command |
wild |
private function updatePushLogWithTimingInformation($write_wait, $read_wait, $host_wait)
$write_wait | ||
$read_wait | ||
$host_wait |
wild |