Page MenuHomePhorge
Diviner Tech Docs PhabricatorDaemonManagementStartWorkflow

final class PhabricatorDaemonManagementStartWorkflow
Phorge Technical Documentation (Daemons)

This class is not documented.

Methods

public function __get($name)
Inherited

This method is not documented.
Parameters
$name
Return
wild

public function __set($name, $value)
Inherited

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

public function current()
Inherited

This method is not documented.
Return
wild

public function key()
Inherited

This method is not documented.
Return
wild

public function next()
Inherited

This method is not documented.
Return
wild

public function rewind()
Inherited

This method is not documented.
Return
wild

public function valid()
Inherited

This method is not documented.
Return
wild

private function throwOnAttemptedIteration()
Inherited

This method is not documented.
Return
wild

public function getPhobjectClassConstant($key, $byte_limit)
Inherited

Phobject

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.

Parameters
string$keyName of the constant.
int|null$byte_limitMaximum number of bytes permitted in the value.
Return
stringValue of the constant.

final public function __construct()
Inherited

This method is not documented.
Return
this//Implicit.//

public function setName($name)
Inherited

This method is not documented.
Parameters
$name
Return
wild

public function getName()
Inherited

This method is not documented.
Return
wild

final public function setExamples($examples)
Inherited

PhutilArgumentWorkflow

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.

Parameters
$examples
Return
wild

final public function getExamples()
Inherited

This method is not documented.
Return
wild

final public function setSynopsis($synopsis)
Inherited

PhutilArgumentWorkflow

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.

Parameters
$synopsis
Return
wild

final public function getSynopsis()
Inherited

This method is not documented.
Return
wild

final public function getHelp()
Inherited

PhutilArgumentWorkflow

Provide a full explanation of the command. This text is shown only in detailed help.

Return
wild

final public function setHelp($help)
Inherited

This method is not documented.
Parameters
$help
Return
wild

final public function setArguments($specs)
Inherited

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

final public function getArguments()
Inherited

This method is not documented.
Return
wild

final public function setArgv($argv)
Inherited

This method is not documented.
Parameters
PhutilArgumentParser$argv
Return
wild

final public function getArgv()
Inherited

This method is not documented.
Return
wild

protected function didConstruct()

This method is not documented.
Return
wild

public function isExecutable()
Inherited

This method is not documented.
Return
wild

public function execute($args)

This method is not documented.
Parameters
PhutilArgumentParser$args
Return
wild

public function shouldParsePartial()
Inherited

PhutilArgumentWorkflow

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.

Return
boolTrue to partially parse workflow arguments (default false).

public function getViewer()
Inherited

This method is not documented.
Return
wild

protected function parseTimeArgument($time)
Inherited

This method is not documented.
Parameters
$time
Return
wild

protected function newContentSource()
Inherited

This method is not documented.
Return
wild

protected function logInfo($label, $message)
Inherited

This method is not documented.
Parameters
$label
$message
Return
wild

protected function logOkay($label, $message)
Inherited

This method is not documented.
Parameters
$label
$message
Return
wild

protected function logWarn($label, $message)
Inherited

This method is not documented.
Parameters
$label
$message
Return
wild

protected function logFail($label, $message)
Inherited

This method is not documented.
Parameters
$label
$message
Return
wild

private function logRaw($message)
Inherited

This method is not documented.
Parameters
$message
Return
wild

final protected function loadUsersFromArguments($identifiers)
Inherited

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

final protected function loadAvailableDaemonClasses()
Inherited

This method is not documented.
Return
wild

final protected function getLogDirectory()
Inherited

This method is not documented.
Return
wild

private function getControlDirectory($path)
Inherited

This method is not documented.
Parameters
$path
Return
wild

private function findDaemonClass($substring)
Inherited

This method is not documented.
Parameters
$substring
Return
wild

final protected function launchDaemons($daemons, $debug, $run_as_current_user)
Inherited

This method is not documented.
Parameters
array$daemons
$debug
$run_as_current_user
Return
wild

private function executeDaemonLaunchCommand($command, $daemon_script_dir, $config, $run_as_user)
Inherited

This method is not documented.
Parameters
$command
$daemon_script_dir
array$config
$run_as_user
Return
wild

public static function ignoreSignal($signo)
Inherited

This method is not documented.
Parameters
$signo
Return
wild

public static function requireExtensions()
Inherited

This method is not documented.
Return
wild

private static function mustHaveExtension($ext)
Inherited

This method is not documented.
Parameters
$ext
Return
wild

final protected function executeStartCommand($options)
Inherited

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

final protected function executeStopCommand($options)
Inherited

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

final protected function executeReloadCommand($pids)
Inherited

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

private function sendStopSignals($pids, $grace_period)
Inherited

This method is not documented.
Parameters
$pids
$grace_period
Return
wild

private function sendSignal($pids, $signo, $wait)
Inherited

This method is not documented.
Parameters
array$pids
$signo
$wait
Return
wild

private function freeActiveLeases()
Inherited

This method is not documented.
Return
wild

private function printLaunchingDaemons($daemons, $debug)
Inherited

This method is not documented.
Parameters
array$daemons
$debug
Return
wild

protected function getAutoscaleReserveArgument()
Inherited

This method is not documented.
Return
wild

private function selectDaemonPIDs($daemons, $pids)
Inherited

This method is not documented.
Parameters
array$daemons
array$pids
Return
wild

protected function getOverseerProcessRefs()
Inherited

This method is not documented.
Return
wild

protected function getInstance()
Inherited

This method is not documented.
Return
wild