com.atlassian.bamboo.repository
Class DefaultRepositoryManager
java.lang.Object
com.atlassian.bamboo.repository.DefaultRepositoryManager
- All Implemented Interfaces:
- RepositoryManager
public class DefaultRepositoryManager
- extends Object
- implements RepositoryManager
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultRepositoryManager
public DefaultRepositoryManager()
getRepositories
public List getRepositories()
- Description copied from interface:
RepositoryManager
- Retuns a list of available
Repository objects
- Specified by:
getRepositories in interface RepositoryManager
- Returns:
- Immutable list of
Repository. Empty list if none exists.
getNewRepositoryInstance
public Repository getNewRepositoryInstance(String repositoryKey)
- Description copied from interface:
RepositoryManager
- Takes in a repository key a creates a new
Repository for that key
- Specified by:
getNewRepositoryInstance in interface RepositoryManager
- Parameters:
repositoryKey - - Cannot be null
- Returns:
Repository matching the key. Throws IllegalArgumentException if invalid
getVersionTypes
public Collection getVersionTypes()
- Description copied from interface:
RepositoryManager
- A list of
NameValuePair objects with representing HEAD / Branch versions
- Specified by:
getVersionTypes in interface RepositoryManager
- Returns:
List never null
setTextProvider
public void setTextProvider(TextProvider textProvider)
Copyright © 2006 Atlassian Software Systems. All Rights Reserved.