|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.repository.DefaultRepositoryManager
public class DefaultRepositoryManager
Constructor Summary | |
---|---|
DefaultRepositoryManager()
|
Method Summary | |
---|---|
java.util.List<NameValuePair> |
getAuthenticationTypes()
Deprecated. |
java.util.List<NameValuePair> |
getFilterOptions()
|
Repository |
getNewRepositoryInstance(java.lang.String key)
Takes in a repository key and creates a new Repository for that key |
MavenPomAccessorCapableRepository |
getNewRepositoryInstanceFromMavenScmProviderKey(java.lang.String scmProviderKey)
Takes in a Maven SCM provider key and creates a new Repository for that key. |
java.util.List<Repository> |
getRepositories()
Retuns a list of available Repository objects |
java.util.Collection<NameValuePair> |
getVersionTypes()
Deprecated. |
void |
setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
|
void |
setTextProvider(com.opensymphony.xwork.TextProvider textProvider)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultRepositoryManager()
Method Detail |
---|
public java.util.List<Repository> getRepositories()
RepositoryManager
Repository
objects
getRepositories
in interface RepositoryManager
Repository
. Empty list if none exists.@Nullable public Repository getNewRepositoryInstance(java.lang.String key)
RepositoryManager
Repository
for that key
getNewRepositoryInstance
in interface RepositoryManager
key
- - Cannot be null
Repository
matching the key. Throws IllegalArgumentException
if invalid@Nullable public MavenPomAccessorCapableRepository getNewRepositoryInstanceFromMavenScmProviderKey(@NotNull java.lang.String scmProviderKey)
RepositoryManager
Repository
for that key. Repository object is not initialized
with the SCM URL.
Maven SCM URL format is defined in http://maven.apache.org/scm/scm-url-format.html
getNewRepositoryInstanceFromMavenScmProviderKey
in interface RepositoryManager
scmProviderKey
- - Maven SCM URL
Repository
matching the key. Throws IllegalArgumentException
if invalid@NotNull @Deprecated public java.util.Collection<NameValuePair> getVersionTypes()
RepositoryManager
NameValuePair
objects with representing HEAD / Branch versions
getVersionTypes
in interface RepositoryManager
List
never null@NotNull @Deprecated public java.util.List<NameValuePair> getAuthenticationTypes()
getAuthenticationTypes
in interface RepositoryManager
@NotNull public java.util.List<NameValuePair> getFilterOptions()
getFilterOptions
in interface RepositoryManager
public void setTextProvider(com.opensymphony.xwork.TextProvider textProvider)
public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |