Package com.atlassian.bamboo.repository
Interface Repository
-
- All Superinterfaces:
BambooPluginModule
,BuildConfigurationAwarePlugin
,ConfigurablePlugin
,ConvertibleFromConfig
,DescriptionProvider
,InitablePluginModule
,NameProvider
,RenderableBuildConfiguration
,RepositoryV2
,Serializable
- All Known Subinterfaces:
BitbucketDelegatedRepository
,BranchAwareRepository
,BranchDetectionCapableRepository
,BranchInformationProvider
,BranchingAwareRepository
,BranchMergingAwareRepository
,CachingAwareRepository
,CheckoutCustomRevisionDataAwareRepository
,CommitIsolationAwareRepository
,CustomRevisionDataAwareRepository
,CustomSourceDirectoryAwareRepository
,CustomVariableProviderRepository
,EditActionAwareRepository
,IncludeExcludeAwareRepository
,InitialBuildAwareRepository
,MavenPomAccessorCapableRepository
,OnceOffCapableRepository
,PreparableRepository
,PushCapableRepository
,QuietPeriodAwareRepository
,RepositoryEventAware
,RequirementsAwareRepository
,RequiresRepositoryData
,SelectableAuthenticationRepository
,StandaloneRepository
,StashRepository
,TaggingAwareRepository
,TestConnectionAwareRepository
- All Known Implementing Classes:
AbstractRepository
,AbstractStandaloneRepository
,BitbucketRepository
,GitHubRepository
,GitRepository
,NullRepository
,PerforceRepository
,StashRepositoryImpl
,SvnRepository
@Deprecated public interface Repository extends ConvertibleFromConfig, RepositoryV2, ConfigurablePlugin, DescriptionProvider
Deprecated.since 5.14Basic contract for interfacing with various version control repository systems.
-
-
Field Summary
Fields Modifier and Type Field Description static String
SELECTED_REPOSITORY
Deprecated.since 3.3 repository definition is no longer part ofBuildConfiguration
static String
UNKNOWN_HOST
Deprecated.A marker string to return when the host is not known
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description @NotNull ErrorCollection
checkConnection()
Deprecated.since 5.10: repositories that support connection testing should implementTestConnectionAwareRepository
insteadString
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)-
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.v2.build.repository.RepositoryV2
collectChangesSinceLastBuild, getSourceCodeDirectory, isRepositoryDifferent
-
-
-
-
Field Detail
-
UNKNOWN_HOST
static final String UNKNOWN_HOST
Deprecated.A marker string to return when the host is not known- See Also:
- Constant Field Values
-
SELECTED_REPOSITORY
@Deprecated static final String SELECTED_REPOSITORY
Deprecated.since 3.3 repository definition is no longer part ofBuildConfiguration
Constant for fetching out the selected repository key from aBuildConfiguration
- See Also:
- Constant Field Values
-
-
Method Detail
-
getKey
@NotNull @NotNull String getKey()
Deprecated.The full complete plugin key for the repo- Returns:
-
getShortKey
@NotNull @NotNull String getShortKey()
Deprecated.The mini key from the plugin (should not contain plugin prefix)- Returns:
-
getName
@NotNull @NotNull String getName()
Deprecated.The display name for the repository type- Specified by:
getName
in interfaceDescriptionProvider
- Specified by:
getName
in interfaceNameProvider
- Returns:
-
getHost
String getHost()
Deprecated.What's the repository server host- Returns:
- The host!
-
getLocationIdentifier
@NotNull @NotNull String getLocationIdentifier()
Deprecated.A string representing the location of the repository- Returns:
-
checkConnection
@NotNull @Deprecated @NotNull ErrorCollection checkConnection()
Deprecated.since 5.10: repositories that support connection testing should implementTestConnectionAwareRepository
insteadThis method internally validates the current connection for the repository. Usually the same as running validate- Returns:
ErrorCollection
must not be null. The errors should be translated to error messages, rather than field errors.
-
getMinimalEditHtml
@Nullable @Nullable String getMinimalEditHtml(@NotNull @NotNull BuildConfiguration buildConfiguration)
Deprecated.Returns HTML for the minimal configuration of the repository. i.e. the basic config required to get it working.- Parameters:
buildConfiguration
- BuildConfiguration object- Returns:
- HTML for the minimal configuration of the repository
-
-