com.atlassian.bamboo.repository
Interface RepositoryManager

All Known Implementing Classes:
DefaultRepositoryManager

public interface RepositoryManager

Interface to handle interactions with Repository objects


Method Summary
 java.util.List<NameValuePair> getAuthenticationTypes()
          TODO Probably obsolete
 java.util.List<NameValuePair> getFilterOptions()
           
 Repository getNewRepositoryInstance(java.lang.String repositoryKey)
          Takes in a repository key a creates a new Repository for that key
 java.util.List<Repository> getRepositories()
          Retuns a list of available Repository objects
 java.util.Collection<NameValuePair> getVersionTypes()
          A list of NameValuePair objects with representing HEAD / Branch versions
 

Method Detail

getRepositories

java.util.List<Repository> getRepositories()
Retuns a list of available Repository objects

Returns:
Immutable list of Repository. Empty list if none exists.

getNewRepositoryInstance

@Nullable
Repository getNewRepositoryInstance(java.lang.String repositoryKey)
Takes in a repository key a creates a new Repository for that key

Parameters:
repositoryKey - - Cannot be null
Returns:
Repository matching the key. Throws IllegalArgumentException if invalid
Throws:
{@link - IllegalArgumentException} if the key does not correspond to a valid Repository

getVersionTypes

java.util.Collection<NameValuePair> getVersionTypes()
A list of NameValuePair objects with representing HEAD / Branch versions

Returns:
List never null

getAuthenticationTypes

java.util.List<NameValuePair> getAuthenticationTypes()
TODO Probably obsolete

Returns:

getFilterOptions

java.util.List<NameValuePair> getFilterOptions()


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.