public interface RepositoryService
Modifier and Type | Method and Description |
---|---|
boolean |
exists(java.lang.String repository) |
java.util.List<java.lang.String> |
getAvailableFileExtensions(java.lang.String repository,
java.lang.String path) |
long |
getLastModified() |
long |
getLastModified(java.lang.String repository) |
RepositoryDataFE |
getRepositoryInfo(java.lang.String name) |
boolean |
isDirectory(java.lang.String repository,
java.lang.String path) |
boolean |
isFile(java.lang.String repository,
java.lang.String path) |
boolean |
isRepositoryAccessible(java.lang.String repository) |
java.util.List<java.lang.String> |
listCommitters(java.lang.String name) |
java.util.List<RepositoryDataFE> |
listRepositories() |
java.util.List<RepositoryDataFE> listRepositories()
RepositoryDataFE getRepositoryInfo(java.lang.String name)
name
- the key of the repositoryjava.util.List<java.lang.String> listCommitters(java.lang.String name)
name
- the key of the repositoryboolean isFile(java.lang.String repository, java.lang.String path)
repository
- the key of the repositorypath
- a path within the repository, indicating a file or directoryboolean isDirectory(java.lang.String repository, java.lang.String path)
repository
- the key of the repositorypath
- a path within the repository, indicating a file or directoryjava.util.List<java.lang.String> getAvailableFileExtensions(java.lang.String repository, java.lang.String path)
repository
- the key of the repositorypath
- a path within the repository, indicating a file or directorylong getLastModified(java.lang.String repository)
repository
- the key of the repositorylong getLastModified()
boolean exists(java.lang.String repository)
repository
- the key of the repositoryboolean isRepositoryAccessible(java.lang.String repository)
repository
- the key of the repository