Package com.atlassian.bamboo.repository
Class AbstractStandaloneRepository
java.lang.Object
com.atlassian.bamboo.v2.build.BaseBuildConfigurationAwarePlugin
com.atlassian.bamboo.v2.build.BaseConfigurablePlugin
com.atlassian.bamboo.repository.AbstractRepository
com.atlassian.bamboo.repository.AbstractStandaloneRepository
- All Implemented Interfaces:
ConvertibleFromConfig
,InitablePluginModule
,AdvancedConfigurationAwareRepository
,FilterChangesetAwareRepository
,IncludeExcludeAwareRepository
,OnceOffCapableRepository
,QuietPeriodAwareRepository
,Repository
,StandaloneRepository
,DescriptionProvider
,NameProvider
,BambooPluginModule
,BuildConfigurationAwarePlugin
,ConfigurablePlugin
,RenderableBuildConfiguration
,RepositoryV2
,Serializable
- Direct Known Subclasses:
BitbucketRepository
,GitHubRepository
,GitRepository
,NullRepository
,StashRepositoryImpl
,SvnRepository
public abstract class AbstractStandaloneRepository
extends AbstractRepository
implements StandaloneRepository
This class provides common repository implementation code for Repositories that can be used by Global Repository
feature.
- Since:
- 3.4
- See Also:
-
Field Summary
Fields inherited from class com.atlassian.bamboo.repository.AbstractRepository
administrationConfigurationAccessor, BUILD_TRIGGER_IP, buildDirectoryManager, buildLoggerManager, customVariableContext, featureManager, REPO_PREFIX, repositoryModuleDescriptor, templateRenderer, textProvider
Fields inherited from class com.atlassian.bamboo.v2.build.BaseBuildConfigurationAwarePlugin
moduleDescriptor
Fields inherited from interface com.atlassian.bamboo.repository.FilterChangesetAwareRepository
CHANGESET_FILTER_PATTERN_REGEX, MAVEN_RELEASE_PLUGIN_EXCLUSION_PATTERN
Fields inherited from interface com.atlassian.bamboo.repository.IncludeExcludeAwareRepository
FILTER_PATTERN_EXCLUDE, FILTER_PATTERN_INCLUDE, FILTER_PATTERN_NONE, FILTER_PATTERN_OPTION, FILTER_PATTERN_REGEX
Fields inherited from interface com.atlassian.bamboo.repository.Repository
SELECTED_REPOSITORY, UNKNOWN_HOST
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAdvancedEditHtml
(@NotNull org.apache.commons.configuration.HierarchicalConfiguration repositoryConfiguration) Return HTML that represents the form fragment for editing advanced options of the repository.Returns the HTML that represents the view of the advanced repository configurationgetEditHtml
(@NotNull org.apache.commons.configuration.HierarchicalConfiguration repositoryConfiguration) This implementation uses the same ftl templates asAbstractRepository.getEditHtml(BuildConfiguration, Plan)
This implementation uses the same ftl templates asAbstractRepository.getViewHtml(Plan)
.getViewHtml
(RepositoryData repositoryData) This implementation uses the same ftl templates asAbstractRepository.getViewHtml(Plan)
Methods inherited from class com.atlassian.bamboo.repository.AbstractRepository
addDefaultValues, collectChangesForRevision, customizeBuildRequirements, getAdvancedEditHtml, getAdvancedViewHtml, getBranchIntegrationEditHtml, getChangesetFilterPatternRegex, getDefaultTriggerModule, getDescription, getEditHtml, getFilterFilePatternOption, getFilterFilePatternRegex, getKey, getLocationIdentifier, getMavenPomCheckoutAccessEditHtml, getMaxCommitsToReturn, getMaxRetries, getMinimalEditHtml, getPollingTriggerModule, getQuietPeriod, getShortKey, getSourceCodeDirectory, getSystemWideExclusionPatterns, getViewHtml, getWorkingDirectory, init, isAdvancedOptionEnabled, isQuietPeriodEnabled, isWorkspaceEmpty, populateFromConfig, removeBuildRequirements, setAdministrationConfigurationAccessor, setBuildDirectoryManager, setBuildLoggerManager, setChangesetFilterPatternRegex, setCustomVariableContext, setFeatureManager, setFilterFilePatternOption, setFilterFilePatternRegex, setTemplateRenderer, setTextProvider, setWorkingDir, substituteString, toConfiguration, toMergeCapableRepository, validate
Methods inherited from class com.atlassian.bamboo.v2.build.BaseBuildConfigurationAwarePlugin
getTemplateRenderer, populateContextForEdit, populateContextForView, prepareConfigObject
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
getHost, getKey, getLocationIdentifier, getMinimalEditHtml, getName, getShortKey
Methods inherited from interface com.atlassian.bamboo.v2.build.repository.RepositoryV2
collectChangesSinceLastBuild, getSourceCodeDirectory, isRepositoryDifferent
-
Constructor Details
-
AbstractStandaloneRepository
public AbstractStandaloneRepository()
-
-
Method Details
-
getEditHtml
public String getEditHtml(@NotNull @NotNull org.apache.commons.configuration.HierarchicalConfiguration repositoryConfiguration) This implementation uses the same ftl templates asAbstractRepository.getEditHtml(BuildConfiguration, Plan)
- Specified by:
getEditHtml
in interfaceStandaloneRepository
- Parameters:
repositoryConfiguration
-HierarchicalConfiguration
for which edit HTML has to be rendered.- Returns:
- HTML string. May be null.
-
getViewHtml
This implementation uses the same ftl templates asAbstractRepository.getViewHtml(Plan)
. This is not used anywhere.- Specified by:
getViewHtml
in interfaceStandaloneRepository
- Returns:
- HTML string. May be null.
-
getViewHtml
This implementation uses the same ftl templates asAbstractRepository.getViewHtml(Plan)
-
getAdvancedEditHtml
public String getAdvancedEditHtml(@NotNull @NotNull org.apache.commons.configuration.HierarchicalConfiguration repositoryConfiguration) Description copied from interface:StandaloneRepository
Return HTML that represents the form fragment for editing advanced options of the repository.- Specified by:
getAdvancedEditHtml
in interfaceStandaloneRepository
- Parameters:
repositoryConfiguration
-HierarchicalConfiguration
for which edit HTML has to be rendered.- Returns:
-
getAdvancedViewHtml
Description copied from interface:StandaloneRepository
Returns the HTML that represents the view of the advanced repository configuration- Specified by:
getAdvancedViewHtml
in interfaceStandaloneRepository
- Returns:
- HTML string. May be null.
-