final public function getApplication()Inherited
wild |
public function shouldAllowPublic()
wild |
protected function setDiffusionRequest($request)
DiffusionRequest | $request |
wild |
protected function getDiffusionRequest()
wild |
protected function getRepository($request)
ConduitAPIRequest | $request |
wild |
final protected function defineErrorTypes()
wild |
protected function defineCustomErrorTypes()
Subclasses should override this to specify custom error types.
wild |
final protected function defineParamTypes()
wild |
protected function defineCustomParamTypes()
Subclasses should override this to specify custom param types.
wild |
protected function getGitResult($request)
Subclasses should override these methods with the proper result for the pertinent version control system, e.g. getGitResult for Git.
If the result is not supported for that VCS, do not implement it. e.g. Subversion (SVN) does not support branches.
ConduitAPIRequest | $request |
wild |
protected function getSVNResult($request)
ConduitAPIRequest | $request |
wild |
protected function getMercurialResult($request)
ConduitAPIRequest | $request |
wild |
final protected function execute($request)
This method is final because most queries will need to construct a DiffusionRequest and use it. Consolidating this codepath and enforcing getDiffusionRequest() works when we need it is good.
getResult() should be overridden by subclasses as necessary, e.g. there is a common operation across all version control systems that should occur after getResult(), like formatting a timestamp.
ConduitAPIRequest | $request |
wild |
protected function newConduitCallProxyClient($request)
ConduitAPIRequest | $request |
wild |
protected function getResult($request)
ConduitAPIRequest | $request |
wild |