Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.atlassian.bamboo.repository
Interface RepositoryManager

All Known Implementing Classes:
  DefaultRepositoryManager

    public interface RepositoryManager

Interface to handle interactions with `Repository` objects

Method Summary
`Repository` | `getNewRepositoryInstance(String repositoryKey)` Takes in a repository key a creates a new `Repository` for that key
`List` | `getRepositories()` Retuns a list of available `Repository` objects
`Collection` | `getVersionTypes()` A list of `NameValuePair` objects with representing HEAD / Branch versions

Method Detail

### getRepositories

    List getRepositories()

  Retuns a list of available `Repository` objects

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

### getNewRepositoryInstance

    Repository getNewRepositoryInstance(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

    Collection getVersionTypes()

  A list of `NameValuePair` objects with representing HEAD / Branch versions

  Returns:
    `List` never null

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006 Atlassian Software Systems. All Rights Reserved.