public interface SourceRegistry
Modifier and Type | Method and Description |
---|---|
List<Project> |
getAllProjects(Repository repo)
Get All the registered projects for a given repository
|
List<Repository> |
getAllRepositories()
Get All the registered repositories
|
void |
registerProject(Source source,
Project project)
Register a Project code from a Source
|
void |
registerRepositorySources(org.uberfire.java.nio.file.Path path,
Repository repo)
Register a repository containing source code projects.
|
void |
registerSource(Repository repo,
Source source)
Register a Source code from a Repository
|
void registerRepositorySources(org.uberfire.java.nio.file.Path path, Repository repo)
path
- to the repositoryrepo
- the repository to register.Repository
List<Repository> getAllRepositories()
Repository
List<Project> getAllProjects(Repository repo)
repo
- the repository for getting the projects.Repository
,
Project
void registerSource(Repository repo, Source source)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.