|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
C - type of connection.public interface RepositoryResolver<C>
Locate a Git Repository by name from the URL.
| Field Summary | |
|---|---|
static RepositoryResolver<?> |
NONE
Resolver configured to open nothing. |
| Method Summary | |
|---|---|
Repository |
open(C req,
String name)
Locate and open a reference to a Repository. |
| Field Detail |
|---|
static final RepositoryResolver<?> NONE
| Method Detail |
|---|
Repository open(C req,
String name)
throws RepositoryNotFoundException,
ServiceNotAuthorizedException,
ServiceNotEnabledException
Repository.
The caller is responsible for closing the returned Repository.
req - the current request, may be used to inspect session state
including cookies or user authentication.name - name of the repository, as parsed out of the URL.
RepositoryNotFoundException - the repository does not exist or the name is incorrectly
formatted as a repository name.
ServiceNotAuthorizedException - the repository exists, but HTTP access is not allowed for the
current user.
ServiceNotEnabledException - the repository exists, but HTTP access is not allowed on the
target repository, by any user.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||