Package com.atlassian.bamboo.vcs.module
Interface VcsRepositoryModuleDescriptor
- All Superinterfaces:
com.atlassian.plugin.ModuleDescriptor<VcsWorkingCopyManager>
,NameProvider
,com.atlassian.plugin.Resourced
,com.atlassian.plugin.ScopeAware
,com.atlassian.plugin.web.api.descriptors.WeightedDescriptor
- All Known Implementing Classes:
LegacyRepositoryModuleDescriptor
,VcsRepositoryModuleDescriptorImpl
public interface VcsRepositoryModuleDescriptor
extends com.atlassian.plugin.ModuleDescriptor<VcsWorkingCopyManager>, com.atlassian.plugin.web.api.descriptors.WeightedDescriptor, NameProvider
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault @Nullable BambooSpecsHandler
@Nullable VcsBranchCreator
@Nullable VcsBranchDetector
default @Nullable VcsBuildWarningsUpdater
@NotNull VcsChangeDetector
@Nullable VcsConnectionTester
@NotNull String
Default trigger key for this repository If none was set polling trigger key will be returned@NotNull String
Default web viewer for this repository.@Nullable VcsRepositoryDataExporter
@Nullable String
getIcon()
Returns IMAGE (icon) for specific repository.@Nullable String
Additional description rendered in repository selection UI.@Nullable VcsPullRequestDetector
@Nullable VcsTagCreator
@Nullable VcsTagsHandler
@Nullable String
Returns TRANSLATION key which is used in tooltips.@NotNull String
Returns "type" of vcs to be used for variable generation.@Nullable VcsVariableGenerator
@Nullable VcsBranchConfigurator
@Nullable VcsBranchDetectionOptionsConfigurator
@Nullable VcsChangeDetectionOptionsConfigurator
default @Nullable VcsCommitCommenter
@NotNull VcsLocationConfigurator
@Nullable VcsMavenPomAccessor
@NotNull VcsWorkingCopyManager
default boolean
Returns true if this repository type is a DVCS.boolean
Marks repository for PRIMARY (in our case Stash & Bitbucket), is used for rendering.boolean
default boolean
boolean
Return true for vcs systems that uses revision ids that can be considered unique.boolean
boolean
boolean
default boolean
default boolean
default boolean
boolean
boolean
default boolean
boolean
boolean
boolean
Methods inherited from interface com.atlassian.plugin.ModuleDescriptor
destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getDisplayName, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, hashCode, init, isBroken, isEnabled, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion, setBroken
Methods inherited from interface com.atlassian.bamboo.utils.NameProvider
getName
Methods inherited from interface com.atlassian.plugin.Resourced
getResourceDescriptor, getResourceDescriptors, getResourceLocation
Methods inherited from interface com.atlassian.plugin.ScopeAware
getScopeKey
Methods inherited from interface com.atlassian.plugin.web.api.descriptors.WeightedDescriptor
getWeight
-
Field Details
-
SELECTED_REPOSITORY
- See Also:
-
-
Method Details
-
getOptionDescription
Additional description rendered in repository selection UI. -
getIcon
Returns IMAGE (icon) for specific repository.- Returns:
- IMAGE path
-
getTooltipKey
Returns TRANSLATION key which is used in tooltips.- Returns:
- TRANSLATION key
-
isPrimary
boolean isPrimary()Marks repository for PRIMARY (in our case Stash & Bitbucket), is used for rendering. -
getChangeDetector
-
getTagsHandler
-
getWorkingCopyManager
-
getBranchDetector
-
getBranchCreator
-
getTagCreator
-
getConnectionTester
-
getVariableGenerator
-
getPullRequestDetector
-
getBambooSpecsHandler
-
getVcsCommitCommenter
-
getBuildWarningsUpdater
-
getVcsLocationConfigurator
-
getVcsChangeDetectionOptionsConfigurator
@Nullable @Nullable VcsChangeDetectionOptionsConfigurator getVcsChangeDetectionOptionsConfigurator() -
getVcsBranchDetectionOptionsConfigurator
@Nullable @Nullable VcsBranchDetectionOptionsConfigurator getVcsBranchDetectionOptionsConfigurator() -
getVcsBranchConfigurator
-
getVcsMavenPomAccessor
-
getExporter
-
supportsBranchDetection
boolean supportsBranchDetection() -
supportsBranchOverrides
boolean supportsBranchOverrides() -
supportsBranchCreation
boolean supportsBranchCreation() -
supportsTagCreation
boolean supportsTagCreation() -
supportsMerging
boolean supportsMerging() -
supportsRemoteUpdates
boolean supportsRemoteUpdates() -
supportsTestingConnection
boolean supportsTestingConnection() -
providesCustomVariables
boolean providesCustomVariables() -
supportsImportFromMaven
boolean supportsImportFromMaven() -
supportsPullRequestDetection
default boolean supportsPullRequestDetection() -
supportsForkedPullRequestDetection
default boolean supportsForkedPullRequestDetection() -
supportsCommitComment
default boolean supportsCommitComment() -
providesWorkingCopyStatus
default boolean providesWorkingCopyStatus() -
supportsBuildWarnings
default boolean supportsBuildWarnings() -
revisionIdsAreUnique
boolean revisionIdsAreUnique()Return true for vcs systems that uses revision ids that can be considered unique. For example Git uses hashes that have low collision chance, so it follows that 2 commits with that same revision id are in fact the same commit. Subversion, on the other hand, uses cardinal numbers which are obviously not unique. -
isDistributedVcs
default boolean isDistributedVcs()Returns true if this repository type is a DVCS. In particular, this means that the repository type distinguishes between local and remote commits. -
getTypeString
Returns "type" of vcs to be used for variable generation. -
getDefaultTriggerKey
Default trigger key for this repository If none was set polling trigger key will be returned- Returns:
- trigger key
-
getDefaultVcsViewerKey
Default web viewer for this repository.
-