public class VcsRepositoryModuleDescriptorImpl extends AbstractBambooModuleDescriptor<VcsWorkingCopyManager> implements VcsRepositoryModuleDescriptor
| Modifier and Type | Field and Description |
|---|---|
static String |
DOWNLOAD_RESOURCE_TYPE |
static String |
ICON_RESOURCE |
static String |
POLLING_TRIGGER_KEY |
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resourcesSELECTED_REPOSITORY| Constructor and Description |
|---|
VcsRepositoryModuleDescriptorImpl(com.atlassian.plugin.module.ModuleFactory moduleFactory) |
| Modifier and Type | Method and Description |
|---|---|
BambooSpecsHandler |
getBambooSpecsHandler() |
@Nullable VcsBranchCreator |
getBranchCreator() |
@Nullable VcsBranchDetector |
getBranchDetector() |
@Nullable VcsBuildWarningsUpdater |
getBuildWarningsUpdater() |
@NotNull VcsChangeDetector |
getChangeDetector() |
@Nullable VcsConnectionTester |
getConnectionTester() |
@NotNull String |
getDefaultTriggerKey()
Default trigger key for this repository
If none was set polling trigger key will be returned
|
@NotNull String |
getDefaultVcsViewerKey()
Default web viewer for this repository.
|
@NotNull VcsRepositoryDataExporter |
getExporter() |
@Nullable String |
getIcon()
Returns IMAGE (icon) for specific repository.
|
@Nullable String |
getOptionDescription()
Additional description rendered in repository selection UI.
|
@Nullable VcsPullRequestDetector |
getPullRequestDetector() |
@Nullable VcsTagCreator |
getTagCreator() |
@Nullable VcsTagsHandler |
getTagsHandler() |
@Nullable String |
getTooltipKey()
Returns TRANSLATION key which is used in tooltips.
|
@NotNull String |
getTypeString()
Returns "type" of vcs to be used for variable generation.
|
@Nullable VcsVariableGenerator |
getVariableGenerator() |
@Nullable VcsBranchConfigurator |
getVcsBranchConfigurator() |
@Nullable VcsBranchDetectionOptionsConfigurator |
getVcsBranchDetectionOptionsConfigurator() |
@Nullable VcsChangeDetectionOptionsConfigurator |
getVcsChangeDetectionOptionsConfigurator() |
@Nullable VcsCommitCommenter |
getVcsCommitCommenter() |
@NotNull VcsLocationConfigurator |
getVcsLocationConfigurator() |
@Nullable VcsMavenPomAccessor |
getVcsMavenPomAccessor() |
int |
getWeight() |
@NotNull VcsWorkingCopyManager |
getWorkingCopyManager() |
void |
init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element) |
protected boolean |
isMutable()
Whether modules of this descriptor are supposed to be mutated by external components.
|
boolean |
isPrimary()
Marks repository for PRIMARY (in our case Stash & Bitbucket), is used for rendering.
|
boolean |
providesCustomVariables() |
boolean |
revisionIdsAreUnique()
Return true for vcs systems that uses revision ids that can be considered unique.
|
boolean |
supportsBranchCreation() |
boolean |
supportsBranchDetection() |
boolean |
supportsBranchOverrides() |
boolean |
supportsImportFromMaven() |
boolean |
supportsMerging() |
boolean |
supportsRemoteUpdates() |
boolean |
supportsTagCreation() |
boolean |
supportsTestingConnection() |
disabled, getElementAsString, getFreeMarkerResourceLocation, getModule, getVelocityResourceLocation, instantiateClass, instantiateSubmodule, postInit, preInitassertModuleClassImplements, checkPermissions, destroy, enabled, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceLocation, getScopeKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, loadClass, provideValidationRules, satisfiesMinJavaVersion, setBroken, setPlugin, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitisDistributedVcs, providesWorkingCopyStatus, supportsBuildWarnings, supportsCommitComment, supportsForkedPullRequestDetection, supportsPullRequestDetectiondestroy, equals, getCompleteKey, getDescription, getDescriptionKey, getDisplayName, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion, setBrokengetResourceDescriptor, getResourceDescriptors, getResourceLocationgetNamepublic static final String ICON_RESOURCE
public static final String DOWNLOAD_RESOURCE_TYPE
public static final String POLLING_TRIGGER_KEY
public VcsRepositoryModuleDescriptorImpl(com.atlassian.plugin.module.ModuleFactory moduleFactory)
public void init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element)
throws com.atlassian.plugin.PluginParseException
init in interface com.atlassian.plugin.ModuleDescriptor<VcsWorkingCopyManager>init in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<VcsWorkingCopyManager>com.atlassian.plugin.PluginParseExceptionprotected boolean isMutable()
AbstractBambooModuleDescriptortrue, which means a fresh module instance will be created each time AbstractBambooModuleDescriptor.getModule()
is called.
Subclasses that are safe to cache a singleton instance of module throughout the life span of this descriptor
can override this method and return false.
isMutable in class AbstractBambooModuleDescriptor<VcsWorkingCopyManager>true if modules of this descriptor are mutable@NotNull public @NotNull VcsLocationConfigurator getVcsLocationConfigurator()
getVcsLocationConfigurator in interface VcsRepositoryModuleDescriptor@Nullable public @Nullable VcsChangeDetectionOptionsConfigurator getVcsChangeDetectionOptionsConfigurator()
getVcsChangeDetectionOptionsConfigurator in interface VcsRepositoryModuleDescriptor@Nullable public @Nullable VcsBranchDetectionOptionsConfigurator getVcsBranchDetectionOptionsConfigurator()
getVcsBranchDetectionOptionsConfigurator in interface VcsRepositoryModuleDescriptor@NotNull public @NotNull VcsChangeDetector getChangeDetector()
getChangeDetector in interface VcsRepositoryModuleDescriptor@Nullable public @Nullable VcsTagsHandler getTagsHandler()
getTagsHandler in interface VcsRepositoryModuleDescriptor@NotNull public @NotNull VcsWorkingCopyManager getWorkingCopyManager()
getWorkingCopyManager in interface VcsRepositoryModuleDescriptor@Nullable public @Nullable VcsBranchConfigurator getVcsBranchConfigurator()
getVcsBranchConfigurator in interface VcsRepositoryModuleDescriptor@Nullable public @Nullable VcsBranchDetector getBranchDetector()
getBranchDetector in interface VcsRepositoryModuleDescriptor@Nullable public @Nullable VcsPullRequestDetector getPullRequestDetector()
getPullRequestDetector in interface VcsRepositoryModuleDescriptor@Nullable public @Nullable VcsCommitCommenter getVcsCommitCommenter()
getVcsCommitCommenter in interface VcsRepositoryModuleDescriptor@Nullable public @Nullable VcsBuildWarningsUpdater getBuildWarningsUpdater()
getBuildWarningsUpdater in interface VcsRepositoryModuleDescriptor@Nullable public @Nullable VcsBranchCreator getBranchCreator()
getBranchCreator in interface VcsRepositoryModuleDescriptor@Nullable public @Nullable VcsTagCreator getTagCreator()
getTagCreator in interface VcsRepositoryModuleDescriptor@Nullable public @Nullable VcsConnectionTester getConnectionTester()
getConnectionTester in interface VcsRepositoryModuleDescriptor@Nullable public @Nullable VcsVariableGenerator getVariableGenerator()
getVariableGenerator in interface VcsRepositoryModuleDescriptor@Nullable public @Nullable VcsMavenPomAccessor getVcsMavenPomAccessor()
getVcsMavenPomAccessor in interface VcsRepositoryModuleDescriptor@NotNull public @NotNull VcsRepositoryDataExporter getExporter()
getExporter in interface VcsRepositoryModuleDescriptorpublic BambooSpecsHandler getBambooSpecsHandler()
getBambooSpecsHandler in interface VcsRepositoryModuleDescriptor@Nullable public @Nullable String getOptionDescription()
VcsRepositoryModuleDescriptorgetOptionDescription in interface VcsRepositoryModuleDescriptor@Nullable public @Nullable String getIcon()
VcsRepositoryModuleDescriptorgetIcon in interface VcsRepositoryModuleDescriptor@Nullable public @Nullable String getTooltipKey()
VcsRepositoryModuleDescriptorgetTooltipKey in interface VcsRepositoryModuleDescriptorpublic boolean isPrimary()
VcsRepositoryModuleDescriptorisPrimary in interface VcsRepositoryModuleDescriptorpublic int getWeight()
getWeight in interface com.atlassian.plugin.web.descriptors.WeightedDescriptorpublic boolean supportsBranchDetection()
supportsBranchDetection in interface VcsRepositoryModuleDescriptorpublic boolean supportsBranchOverrides()
supportsBranchOverrides in interface VcsRepositoryModuleDescriptorpublic boolean supportsBranchCreation()
supportsBranchCreation in interface VcsRepositoryModuleDescriptorpublic boolean supportsTagCreation()
supportsTagCreation in interface VcsRepositoryModuleDescriptorpublic boolean providesCustomVariables()
providesCustomVariables in interface VcsRepositoryModuleDescriptorpublic boolean supportsMerging()
supportsMerging in interface VcsRepositoryModuleDescriptorpublic boolean supportsRemoteUpdates()
supportsRemoteUpdates in interface VcsRepositoryModuleDescriptorpublic boolean supportsTestingConnection()
supportsTestingConnection in interface VcsRepositoryModuleDescriptorpublic boolean supportsImportFromMaven()
supportsImportFromMaven in interface VcsRepositoryModuleDescriptorpublic boolean revisionIdsAreUnique()
VcsRepositoryModuleDescriptorrevisionIdsAreUnique in interface VcsRepositoryModuleDescriptor@NotNull public @NotNull String getTypeString()
VcsRepositoryModuleDescriptorgetTypeString in interface VcsRepositoryModuleDescriptor@NotNull public @NotNull String getDefaultTriggerKey()
VcsRepositoryModuleDescriptorgetDefaultTriggerKey in interface VcsRepositoryModuleDescriptor@NotNull public @NotNull String getDefaultVcsViewerKey()
VcsRepositoryModuleDescriptorgetDefaultVcsViewerKey in interface VcsRepositoryModuleDescriptorCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.