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 |
public function execute($args)
| PhutilArgumentParser | $args |
| wild |
public function shouldParsePartial()
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 getViewer()Inherited
| wild |
protected function parseTimeArgument($time)Inherited
| $time |
| wild |
protected function newContentSource()Inherited
| wild |
protected function logInfo($label, $message)Inherited
| $label | ||
| $message |
| wild |
protected function logOkay($label, $message)Inherited
| $label | ||
| $message |
| wild |
protected function logWarn($label, $message)Inherited
| $label | ||
| $message |
| wild |
protected function logFail($label, $message)Inherited
| $label | ||
| $message |
| wild |
private function logRaw($message)Inherited
| $message |
| wild |
final protected function loadUsersFromArguments($identifiers)Inherited
| array | $identifiers |
| wild |
final protected function loadAvailableDaemonClasses()Inherited
| wild |
final protected function getLogDirectory()Inherited
| wild |
private function getControlDirectory($path)Inherited
| $path |
| wild |
private function findDaemonClass($substring)Inherited
| $substring |
| wild |
final protected function launchDaemons($daemons, $debug, $run_as_current_user)Inherited
| array | $daemons | |
| $debug | ||
| $run_as_current_user |
| wild |
private function executeDaemonLaunchCommand($command, $daemon_script_dir, $config, $run_as_user)Inherited
| $command | ||
| $daemon_script_dir | ||
| array | $config | |
| $run_as_user |
| wild |
public static function ignoreSignal($signo)Inherited
| $signo |
| wild |
public static function requireExtensions()Inherited
| wild |
private static function mustHaveExtension($ext)Inherited
| $ext |
| wild |
final protected function executeStartCommand($options)Inherited
| array | $options |
| wild |
final protected function executeStopCommand($options)Inherited
| array | $options |
| wild |
final protected function executeReloadCommand($pids)Inherited
| array | $pids |
| wild |
private function sendStopSignals($pids, $grace_period)Inherited
| $pids | ||
| $grace_period |
| wild |
private function sendSignal($pids, $signo, $wait)Inherited
| array | $pids | |
| $signo | ||
| $wait |
| wild |
private function freeActiveLeases()Inherited
| wild |
private function printLaunchingDaemons($daemons, $debug)Inherited
| array | $daemons | |
| $debug |
| wild |
protected function getAutoscaleReserveArgument()Inherited
| wild |
private function selectDaemonPIDs($daemons, $pids)Inherited
| array | $daemons | |
| array | $pids |
| wild |
protected function getOverseerProcessRefs()Inherited
| wild |
protected function getInstance()Inherited
| wild |