|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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()
RepositoryManagerRepository objects
getRepositories in interface RepositoryManagerRepository. Empty list if none exists.@Nullable public Repository getNewRepositoryInstance(java.lang.String key)
RepositoryManagerRepository for that key
getNewRepositoryInstance in interface RepositoryManagerkey - - Cannot be null
Repository matching the key. Throws IllegalArgumentException if invalid
@Nullable
public MavenPomAccessorCapableRepository getNewRepositoryInstanceFromMavenScmProviderKey(@NotNull
java.lang.String scmProviderKey)
RepositoryManagerRepository 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 RepositoryManagerscmProviderKey - - Maven SCM URL
Repository matching the key. Throws IllegalArgumentException if invalid@NotNull @Deprecated public java.util.Collection<NameValuePair> getVersionTypes()
RepositoryManagerNameValuePair objects with representing HEAD / Branch versions
getVersionTypes in interface RepositoryManagerList never null@NotNull @Deprecated public java.util.List<NameValuePair> getAuthenticationTypes()
getAuthenticationTypes in interface RepositoryManager@NotNull public java.util.List<NameValuePair> getFilterOptions()
getFilterOptions in interface RepositoryManagerpublic 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 | |||||||||