Page MenuHomePhorge
Diviner Arcanist Tech Docs ArcanistRepositoryLocalState

abstract class ArcanistRepositoryLocalState
Arcanist Technical Documentation ()

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 setWorkflow($workflow)

This method is not documented.
Parameters
ArcanistWorkflow$workflow
Return
wild

final public function getWorkflow()

This method is not documented.
Return
wild

final public function setRepositoryAPI($api)

This method is not documented.
Parameters
ArcanistRepositoryAPI$api
Return
wild

final public function getRepositoryAPI()

This method is not documented.
Return
wild

final public function saveLocalState()

This method is not documented.
Return
wild

final public function restoreLocalState()

This method is not documented.
Return
wild

final public function discardLocalState()

This method is not documented.
Return
wild

final public function __destruct()

This method is not documented.
Return
wild

final public function getRestoreCommandsForDisplay()

This method is not documented.
Return
wild

protected function canStashChanges()

This method is not documented.
Return
wild

protected function saveStash()

Stash uncommitted changes temporarily. Use {@method:restoreStash()} to bring these changes back.

Note that saving and restoring changes may not behave as expected if used in a non-stack manner, i.e. proper use involves only restoring stashes in the reverse order they were saved.

Return
wildA reference object that refers to the changes which were saved. When restoring changes this should be passed to {@method:restoreStash()}.

protected function restoreStash($ref)

Restores changes that were previously stashed by {@method:saveStash()}.

Parameters
wild$refA reference object referring to which previously stashed changes to restore, from invoking {@method:saveStash()}.
Return
wild

protected function discardStash($ref)

This method is not documented.
Parameters
$ref
Return
wild

private function applyStash()

This method is not documented.
Return
wild

abstract protected function executeSaveLocalState()

This method is not documented.
Return
wild

abstract protected function executeRestoreLocalState()

This method is not documented.
Return
wild

abstract protected function executeDiscardLocalState()

This method is not documented.
Return
wild

abstract protected function newRestoreCommandsForDisplay()

This method is not documented.
Return
wild

protected function getIgnoreHints()

This method is not documented.
Return
wild

final protected function newDisplayFileList($title, $files)

This method is not documented.
Parameters
$title
array$files
Return
wild

final protected function printFileLists($lists)

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