com.atlassian.bamboo.repository
Interface StandaloneRepository

All Superinterfaces:
BambooPluginModule, BuildConfigurationAwarePlugin, ConfigurablePlugin, ConvertibleFromConfig, DescriptionProvider, InitablePluginModule, NameProvider, RenderableBuildConfiguration, Repository, RepositoryV2, java.io.Serializable
All Known Implementing Classes:
AbstractStandaloneRepository, AppLinksSvnRepository, BitbucketRepository, CVSRepository, HgRepository, PerforceRepository, SvnRepository

public interface StandaloneRepository
extends Repository

Represents Repository that does not require Plan for configuration and thus is 'visible' to Global Repository feature.

Since:
3.4
See Also:
AbstractStandaloneRepository}

Field Summary
 
Fields inherited from interface com.atlassian.bamboo.repository.Repository
SELECTED_REPOSITORY, UNKNOWN_HOST
 
Method Summary
 java.lang.String getAdvancedEditHtml(org.apache.commons.configuration.HierarchicalConfiguration repositoryConfiguration)
          Return HTML that represents the form fragment for editing advanced options of the repository.
 java.lang.String getAdvancedViewHtml()
          Returns the HTML that represents the view of the advanced repository configuration
 java.lang.String getEditHtml(org.apache.commons.configuration.HierarchicalConfiguration repositoryConfiguration)
          Returns HTML that represents the form fragment for editing the repository.
 java.lang.String getViewHtml()
          Returns the HTML that represents the view of the repository configuration
 
Methods inherited from interface com.atlassian.bamboo.repository.Repository
checkConnection, getHost, getKey, getLocationIdentifier, getMinimalEditHtml, getName, getShortKey
 
Methods inherited from interface com.atlassian.bamboo.fieldvalue.ConvertibleFromConfig
populateFromConfig, toConfiguration
 
Methods inherited from interface com.atlassian.bamboo.v2.build.repository.RepositoryV2
collectChangesSinceLastBuild, getSourceCodeDirectory, isRepositoryDifferent
 
Methods inherited from interface com.atlassian.bamboo.v2.build.ConfigurablePlugin
customizeBuildRequirements, removeBuildRequirements
 
Methods inherited from interface com.atlassian.bamboo.v2.build.BuildConfigurationAwarePlugin
addDefaultValues, prepareConfigObject, validate
 
Methods inherited from interface com.atlassian.bamboo.plugin.InitablePluginModule
init
 
Methods inherited from interface com.atlassian.bamboo.v2.build.RenderableBuildConfiguration
getEditHtml, getViewHtml
 
Methods inherited from interface com.atlassian.bamboo.utils.DescriptionProvider
getDescription
 

Method Detail

getViewHtml

@Nullable
java.lang.String getViewHtml()
Returns the HTML that represents the view of the repository configuration

Returns:
HTML string. May be null.

getAdvancedViewHtml

@Nullable
java.lang.String getAdvancedViewHtml()
Returns the HTML that represents the view of the advanced repository configuration

Returns:
HTML string. May be null.

getEditHtml

@Nullable
java.lang.String getEditHtml(@NotNull
                                      org.apache.commons.configuration.HierarchicalConfiguration repositoryConfiguration)
Returns HTML that represents the form fragment for editing the repository. No opening and closing form tags are required.

Parameters:
repositoryConfiguration - HierarchicalConfiguration for which edit HTML has to be rendered.
Returns:
HTML string. May be null.

getAdvancedEditHtml

@Nullable
java.lang.String getAdvancedEditHtml(@NotNull
                                              org.apache.commons.configuration.HierarchicalConfiguration repositoryConfiguration)
Return HTML that represents the form fragment for editing advanced options of the repository.

Parameters:
repositoryConfiguration - HierarchicalConfiguration for which edit HTML has to be rendered.
Returns:


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.