public interface SshScmRequestHandler
SshScmRequests.SshScmRequestHandlerModuleDescriptor| Modifier and Type | Method and Description | 
|---|---|
| default Optional<SshScmRequest> | create(SshScmRequestContext context)Returns an  SshScmRequestif this handler can handle the supplied command string, orOptional.empty()otherwise. | 
| boolean | supports(String command) | 
@Nonnull default Optional<SshScmRequest> create(@Nonnull SshScmRequestContext context)
SshScmRequest if this handler can handle the supplied command string, or
 Optional.empty() otherwise.context - context describing the request, which can be used by the handler implementation to determine
                whether it supports the request or notSshScmRequest if this handler supports the specified command, or Optional.empty() to
         indicate that this factory does not support the commandcom.atlassian.bitbucket.repository.NoSuchRepositoryException - if this handler supports the specified command, but the requested repository
                                   cannot be foundcom.atlassian.bitbucket.AuthorisationException - if this handler the repository is not accessibleCopyright © 2024 Atlassian. All rights reserved.