Page MenuHomePhabricator
Diviner Phabricator Tech Docs PhabricatorSSHWorkflow

abstract class PhabricatorSSHWorkflow
Phabricator Technical Documentation ()

This class is not documented.

Methods

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()
Inherited

This method is not documented.
Return
wild

public function isExecutable()

This method is not documented.
Return
wild

public function execute($args)
Inherited

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 setErrorChannel($error_channel)

This method is not documented.
Parameters
PhutilChannel$error_channel
Return
wild

public function getErrorChannel()

This method is not documented.
Return
wild

public function setSSHUser($ssh_user)

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

public function getSSHUser()

This method is not documented.
Return
wild

public function setIOChannel($channel)

This method is not documented.
Parameters
PhutilChannel$channel
Return
wild

public function getIOChannel()

This method is not documented.
Return
wild

public function readAllInput()

This method is not documented.
Return
wild

public function writeIO($data)

This method is not documented.
Parameters
$data
Return
wild

public function writeErrorIO($data)

This method is not documented.
Parameters
$data
Return
wild

protected function newPassthruCommand()

This method is not documented.
Return
wild

public function setIsClusterRequest($is_cluster_request)

This method is not documented.
Parameters
$is_cluster_request
Return
wild

public function getIsClusterRequest()

This method is not documented.
Return
wild

public function setOriginalArguments($original_arguments)

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

public function getOriginalArguments()

This method is not documented.
Return
wild

public function setRequestIdentifier($request_identifier)

This method is not documented.
Parameters
$request_identifier
Return
wild

public function getRequestIdentifier()

This method is not documented.
Return
wild

public function getSSHRemoteAddress()

This method is not documented.
Return
wild