public interface SourceService
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getBranches(org.uberfire.spaces.Space space,
String repository)
Gets the list of branch names in a given repository.
|
Collection<org.guvnor.common.services.project.model.Module> |
getModules(org.uberfire.spaces.Space space,
String repositoryAlias,
String branch)
Gets the list of modules accessible by current user in a given repository and branch.
|
Collection<String> |
getOrganizationUnits()
Gets the list of organizational unit names accessible by current user.
|
Collection<String> |
getRepositories(String organizationalUnit)
Gets the list of repositories accessible by current user in a given organizational unit.
|
Collection<String> getOrganizationUnits()
Collection<String> getRepositories(String organizationalUnit)
organizationalUnit
- a desired organizational unit name.Collection<String> getBranches(org.uberfire.spaces.Space space, String repository)
repository
- a repository name.Collection<org.guvnor.common.services.project.model.Module> getModules(org.uberfire.spaces.Space space, String repositoryAlias, String branch)
repositoryAlias
- a repository name.branch
- a branch name.Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.