@ApplicationScoped public class SourceServiceImpl extends Object implements SourceService
Constructor and Description |
---|
SourceServiceImpl() |
SourceServiceImpl(org.guvnor.structure.organizationalunit.OrganizationalUnitService organizationalUnitService,
org.guvnor.structure.repositories.RepositoryService repositoryService,
org.guvnor.common.services.project.service.ModuleService<? extends org.guvnor.common.services.project.model.Module> moduleService,
org.uberfire.security.authz.AuthorizationManager authorizationManager,
org.jboss.errai.security.shared.api.identity.User identity) |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getBranches(org.uberfire.spaces.Space space,
String repositoryName) |
Collection<org.guvnor.common.services.project.model.Module> |
getModules(org.uberfire.spaces.Space space,
String repositoryAlias,
String branchName) |
Collection<String> |
getOrganizationUnits() |
Collection<String> |
getRepositories(String organizationalUnit) |
public SourceServiceImpl()
@Inject public SourceServiceImpl(org.guvnor.structure.organizationalunit.OrganizationalUnitService organizationalUnitService, org.guvnor.structure.repositories.RepositoryService repositoryService, org.guvnor.common.services.project.service.ModuleService<? extends org.guvnor.common.services.project.model.Module> moduleService, org.uberfire.security.authz.AuthorizationManager authorizationManager, org.jboss.errai.security.shared.api.identity.User identity)
public Collection<String> getOrganizationUnits()
getOrganizationUnits
in interface SourceService
public Collection<String> getRepositories(String organizationalUnit)
getRepositories
in interface SourceService
public Collection<String> getBranches(org.uberfire.spaces.Space space, String repositoryName)
getBranches
in interface SourceService
public Collection<org.guvnor.common.services.project.model.Module> getModules(org.uberfire.spaces.Space space, String repositoryAlias, String branchName)
getModules
in interface SourceService
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.