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,StashRepositoryImpl,SvnRepository
@Deprecated
public interface Repository
extends ConvertibleFromConfig, RepositoryV2, ConfigurablePlugin, DescriptionProvider
Deprecated.
since 5.14
Basic contract for interfacing with various version control repository systems.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.since 3.3 repository definition is no longer part ofBuildConfigurationstatic final StringDeprecated.A marker string to return when the host is not known -
Method Summary
Modifier and TypeMethodDescriptiongetHost()Deprecated.What's the repository server host@NotNull StringgetKey()Deprecated.The full complete plugin key for the repo@NotNull StringDeprecated.A string representing the location of the repository@Nullable StringgetMinimalEditHtml(@NotNull BuildConfiguration buildConfiguration) Deprecated.Returns HTML for the minimal configuration of the repository. i.e. the basic config required to get it working.@NotNull StringgetName()Deprecated.The display name for the repository type@NotNull StringDeprecated.The mini key from the plugin (should not contain plugin prefix)Methods 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.v2.build.repository.RepositoryV2
collectChangesSinceLastBuild, getSourceCodeDirectory, isRepositoryDifferent
-
Field Details
-
UNKNOWN_HOST
Deprecated.A marker string to return when the host is not known- See Also:
-
SELECTED_REPOSITORY
Deprecated.since 3.3 repository definition is no longer part ofBuildConfigurationConstant for fetching out the selected repository key from aBuildConfiguration- See Also:
-
-
Method Details
-
getKey
Deprecated.The full complete plugin key for the repo- Returns:
-
getShortKey
Deprecated.The mini key from the plugin (should not contain plugin prefix)- Returns:
-
getName
Deprecated.The display name for the repository type- Specified by:
getNamein interfaceDescriptionProvider- Specified by:
getNamein interfaceNameProvider- Returns:
-
getHost
String getHost()Deprecated.What's the repository server host- Returns:
- The host!
-
getLocationIdentifier
Deprecated.A string representing the location of the repository- Returns:
-
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
-