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
,PerforceRepository
,StashRepositoryImpl
,SvnRepository
@PublicApi public interface StandaloneRepository extends Repository
Represents Repository that does not requirePlan
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable String
getAdvancedEditHtml(@NotNull org.apache.commons.configuration.HierarchicalConfiguration repositoryConfiguration)
Return HTML that represents the form fragment for editing advanced options of the repository.@Nullable String
getAdvancedViewHtml()
Returns the HTML that represents the view of the advanced repository configuration@Nullable String
getEditHtml(@NotNull org.apache.commons.configuration.HierarchicalConfiguration repositoryConfiguration)
Returns HTML that represents the form fragment for editing the repository.@Nullable String
getViewHtml()
Returns the HTML that represents the view of the repository configuration-
Methods inherited from interface com.atlassian.bamboo.v2.build.BuildConfigurationAwarePlugin
addDefaultValues, isConfigurationMissing, prepareConfigObject, validate
-
Methods inherited from interface com.atlassian.bamboo.v2.build.ConfigurablePlugin
customizeBuildRequirements, removeBuildRequirements
-
Methods inherited from interface com.atlassian.bamboo.fieldvalue.ConvertibleFromConfig
populateFromConfig, toConfiguration
-
Methods inherited from interface com.atlassian.bamboo.utils.DescriptionProvider
getDescription
-
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.repository.Repository
checkConnection, getHost, getKey, getLocationIdentifier, getMinimalEditHtml, getName, getShortKey
-
Methods inherited from interface com.atlassian.bamboo.v2.build.repository.RepositoryV2
collectChangesSinceLastBuild, getSourceCodeDirectory, isRepositoryDifferent
-
-
-
-
Method Detail
-
getViewHtml
@Nullable @Nullable String getViewHtml()
Returns the HTML that represents the view of the repository configuration- Returns:
- HTML string. May be null.
-
getAdvancedViewHtml
@Nullable @Nullable String 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
-HierarchicalConfiguration
for 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
-HierarchicalConfiguration
for which edit HTML has to be rendered.- Returns:
-
-