@Deprecated public interface Repository extends ConvertibleFromConfig, RepositoryV2, ConfigurablePlugin, DescriptionProvider
Basic contract for interfacing with various version control repository systems.
| Modifier and Type | Field and Description | 
|---|---|
static String | 
SELECTED_REPOSITORY
Deprecated. 
 
since 3.3 repository definition is no longer part of  
BuildConfiguration | 
static String | 
UNKNOWN_HOST
Deprecated.  
A marker string to return when the host is not known 
 | 
| Modifier and Type | Method and Description | 
|---|---|
@NotNull ErrorCollection | 
checkConnection()
Deprecated. 
 
since 5.10: repositories that support connection testing should implement  
TestConnectionAwareRepository instead | 
String | 
getHost()
Deprecated.  
What's the repository server host 
 | 
@NotNull String | 
getKey()
Deprecated.  
The full complete plugin key for the repo 
 | 
@NotNull String | 
getLocationIdentifier()
Deprecated.  
A string representing the location of the repository 
 | 
@Nullable String | 
getMinimalEditHtml(@NotNull BuildConfiguration buildConfiguration)
Deprecated.  
Returns HTML for the minimal configuration of the repository. 
 | 
@NotNull String | 
getName()
Deprecated.  
The display name for the repository type 
 | 
@NotNull String | 
getShortKey()
Deprecated.  
The mini key from the plugin (should not contain plugin prefix) 
 | 
populateFromConfig, toConfigurationcollectChangesSinceLastBuild, getSourceCodeDirectory, isRepositoryDifferentcustomizeBuildRequirements, removeBuildRequirementsaddDefaultValues, isConfigurationMissing, prepareConfigObject, validateinitgetEditHtml, getViewHtmlgetDescriptionstatic final String UNKNOWN_HOST
@Deprecated static final String SELECTED_REPOSITORY
BuildConfigurationBuildConfiguration@NotNull @NotNull String getKey()
@NotNull @NotNull String getShortKey()
@NotNull @NotNull String getName()
getName in interface DescriptionProvidergetName in interface NameProviderString getHost()
@NotNull @NotNull String getLocationIdentifier()
@NotNull @Deprecated @NotNull ErrorCollection checkConnection()
TestConnectionAwareRepository insteadErrorCollection must not be null. The errors should be translated to error messages, rather than
 field errors.@Nullable @Nullable String getMinimalEditHtml(@NotNull @NotNull BuildConfiguration buildConfiguration)
buildConfiguration - BuildConfiguration objectCopyright © 2024 Atlassian Software Systems Pty Ltd. All rights reserved.