Package com.atlassian.bamboo.repository
Interface StandaloneRepository
- All Superinterfaces:
BambooPluginModule,BuildConfigurationAwarePlugin,ConfigurablePlugin,ConvertibleFromConfig,DescriptionProvider,InitablePluginModule,NameProvider,RenderableBuildConfiguration,Repository,RepositoryV2,Serializable
- All Known Subinterfaces:
RequiresRepositoryData,StashRepository
- All Known Implementing Classes:
AbstractStandaloneRepository,BitbucketRepository,GitHubRepository,GitRepository,NullRepository,StashRepositoryImpl,SvnRepository
Represents Repository that does not require
Plan for configuration and
thus is 'visible' to Global Repository feature.- Since:
- 3.4 com.atlassian.bamboo.repository.AbstractStandaloneRepository
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.repository.Repository
SELECTED_REPOSITORY, UNKNOWN_HOST -
Method Summary
Modifier and TypeMethodDescription@Nullable StringgetAdvancedEditHtml(@NotNull org.apache.commons.configuration.HierarchicalConfiguration repositoryConfiguration) Return HTML that represents the form fragment for editing advanced options of the repository.@Nullable StringReturns the HTML that represents the view of the advanced repository configuration@Nullable StringgetEditHtml(@NotNull org.apache.commons.configuration.HierarchicalConfiguration repositoryConfiguration) Returns HTML that represents the form fragment for editing the repository.@Nullable StringReturns the HTML that represents the view of the repository configurationMethods inherited from interface com.atlassian.bamboo.v2.build.BuildConfigurationAwarePlugin
addDefaultValues, isConfigurationMissing, prepareConfigObject, validateMethods inherited from interface com.atlassian.bamboo.v2.build.ConfigurablePlugin
customizeBuildRequirements, removeBuildRequirementsMethods inherited from interface com.atlassian.bamboo.fieldvalue.ConvertibleFromConfig
populateFromConfig, toConfigurationMethods inherited from interface com.atlassian.bamboo.utils.DescriptionProvider
getDescriptionMethods inherited from interface com.atlassian.bamboo.plugin.InitablePluginModule
initMethods inherited from interface com.atlassian.bamboo.v2.build.RenderableBuildConfiguration
getEditHtml, getViewHtmlMethods inherited from interface com.atlassian.bamboo.repository.Repository
getHost, getKey, getLocationIdentifier, getMinimalEditHtml, getName, getShortKeyMethods inherited from interface com.atlassian.bamboo.v2.build.repository.RepositoryV2
collectChangesSinceLastBuild, getSourceCodeDirectory, isRepositoryDifferent
-
Method Details
-
getViewHtml
Returns the HTML that represents the view of the repository configuration- Returns:
- HTML string. May be null.
-
getAdvancedViewHtml
Returns the HTML that represents the view of the advanced repository configuration- Returns:
- HTML string. May be null.
-
getEditHtml
@Nullable @Nullable String getEditHtml(@NotNull @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-HierarchicalConfigurationfor which edit HTML has to be rendered.- Returns:
- HTML string. May be null.
-
getAdvancedEditHtml
@Nullable @Nullable String getAdvancedEditHtml(@NotNull @NotNull org.apache.commons.configuration.HierarchicalConfiguration repositoryConfiguration) Return HTML that represents the form fragment for editing advanced options of the repository.- Parameters:
repositoryConfiguration-HierarchicalConfigurationfor which edit HTML has to be rendered.- Returns:
-