com.atlassian.bitbucket.scm.ssh.SshScmRequestHandler |
Public Methods
Returns an SshScmRequest
if this handler can handle the supplied command string, or
empty()
otherwise.
Parameters
context
| context describing the request, which can be used by the handler implementation to determine
whether it supports the request or not |
Returns
- an
SshScmRequest
if this handler supports the specified command, or empty()
to
indicate that this factory does not support the command
public
boolean
supports
(String command)
Parameters
command
| the command String passed from the remote SSH client (e.g. "git-upload-pack path/to/repository") |
Returns
true
if the handler supports the supplied command, false
otherwise