com.atlassian.jira.vcs.enterprise
Class EnterpriseRepositoryManager
java.lang.Object
com.atlassian.jira.vcs.DefaultRepositoryManager
com.atlassian.jira.vcs.enterprise.EnterpriseRepositoryManager
- All Implemented Interfaces:
- RepositoryManager
public class EnterpriseRepositoryManager
- extends DefaultRepositoryManager
Methods inherited from class com.atlassian.jira.vcs.DefaultRepositoryManager |
createRepository, equals, getAssociationManager, getCommits, getGenericDelegator, getProjectsForRepository, getPropertySet, getRepositories, getRepository, getRepository, getServiceManager, isDifferentRepository, isValidType, markVcsServiceToRun, refresh, removeRepository, setProjectRepositories, updateRepositories, updateRepository, updateRepository |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnterpriseRepositoryManager
public EnterpriseRepositoryManager(com.atlassian.core.ofbiz.association.AssociationManager associationManager,
org.ofbiz.core.entity.GenericDelegator genericDelegator,
ServiceManager serviceManager,
PermissionManager permissionManager,
ChangeHistoryManager changeHistoryManager,
ProjectManager projectManager)
throws org.ofbiz.core.entity.GenericEntityException
- Throws:
org.ofbiz.core.entity.GenericEntityException
EnterpriseRepositoryManager
public EnterpriseRepositoryManager()
throws org.ofbiz.core.entity.GenericEntityException
- Throws:
org.ofbiz.core.entity.GenericEntityException
getRepositoriesForProject
public Collection getRepositoriesForProject(org.ofbiz.core.entity.GenericValue project)
throws org.ofbiz.core.entity.GenericEntityException
- Description copied from interface:
RepositoryManager
- This method will return a list of
Repository
s that are associated with the provided project.
NOTE: In standard and professional editions the returned list will only ever contain a
single repository. If you have associated more than one repository with the project the list will contain
the first repository it encounters as stored in the database. JIRA enterprise edition allows you to associate
multiple repositories with a project.
- Specified by:
getRepositoriesForProject
in interface RepositoryManager
- Overrides:
getRepositoriesForProject
in class DefaultRepositoryManager
- Parameters:
project
- a GenericValue representing the project associated with the repositories you would like to
retrieve.
- Returns:
- collection of
Repository
's.
- Throws:
org.ofbiz.core.entity.GenericEntityException
- if there is a problem accessing the data store.
Copyright © 2002-2009 Atlassian. All Rights Reserved.