public class VcsRepositoryModuleDescriptorImpl extends AbstractBambooModuleDescriptor<VcsWorkingCopyManager> implements VcsRepositoryModuleDescriptor
Modifier and Type | Field and Description |
---|---|
static String |
DOWNLOAD_RESOURCE_TYPE |
static String |
ICON_RESOURCE |
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources, singleton
SELECTED_REPOSITORY
Constructor and Description |
---|
VcsRepositoryModuleDescriptorImpl(com.atlassian.plugin.module.ModuleFactory moduleFactory) |
disabled, getElementAsString, getFreeMarkerResourceLocation, getModule, getVelocityResourceLocation, instantiateClass, instantiateSubmodule, postInit, preInit
assertModuleClassImplements, checkPermissions, destroy, destroy, enabled, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, hashCode, isBroken, isEnabled, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, loadClass, loadClass, provideValidationRules, satisfiesMinJavaVersion, setBroken, setPlugin, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
supportsPullRequestDetection
destroy, destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion, setBroken
getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation
getName
public static final String ICON_RESOURCE
public static final String DOWNLOAD_RESOURCE_TYPE
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.PluginParseException
protected boolean isMutable()
AbstractBambooModuleDescriptor
true
, 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 VcsLocationConfigurator getVcsLocationConfigurator()
getVcsLocationConfigurator
in interface VcsRepositoryModuleDescriptor
@Nullable public VcsChangeDetectionOptionsConfigurator getVcsChangeDetectionOptionsConfigurator()
getVcsChangeDetectionOptionsConfigurator
in interface VcsRepositoryModuleDescriptor
@Nullable public VcsBranchDetectionOptionsConfigurator getVcsBranchDetectionOptionsConfigurator()
getVcsBranchDetectionOptionsConfigurator
in interface VcsRepositoryModuleDescriptor
@NotNull public VcsChangeDetector getChangeDetector()
getChangeDetector
in interface VcsRepositoryModuleDescriptor
@NotNull public VcsWorkingCopyManager getWorkingCopyManager()
getWorkingCopyManager
in interface VcsRepositoryModuleDescriptor
@Nullable public VcsBranchConfigurator getVcsBranchConfigurator()
getVcsBranchConfigurator
in interface VcsRepositoryModuleDescriptor
@Nullable public VcsBambooSpecsConfigurator getBambooSpecsConfigurator()
getBambooSpecsConfigurator
in interface VcsRepositoryModuleDescriptor
@Nullable public VcsBranchDetector getBranchDetector()
getBranchDetector
in interface VcsRepositoryModuleDescriptor
@Nullable public VcsPullRequestDetector getPullRequestDetector()
getPullRequestDetector
in interface VcsRepositoryModuleDescriptor
@Nullable public VcsBranchCreator getBranchCreator()
getBranchCreator
in interface VcsRepositoryModuleDescriptor
@Nullable public VcsTagCreator getTagCreator()
getTagCreator
in interface VcsRepositoryModuleDescriptor
@Nullable public VcsConnectionTester getConnectionTester()
getConnectionTester
in interface VcsRepositoryModuleDescriptor
@Nullable public VcsVariableGenerator getVariableGenerator()
getVariableGenerator
in interface VcsRepositoryModuleDescriptor
@Nullable public VcsMavenPomAccessor getVcsMavenPomAccessor()
getVcsMavenPomAccessor
in interface VcsRepositoryModuleDescriptor
@NotNull public VcsRepositoryDataExporter getExporter()
getExporter
in interface VcsRepositoryModuleDescriptor
public BambooSpecsHandler getBambooSpecsHandler()
getBambooSpecsHandler
in interface VcsRepositoryModuleDescriptor
@Nullable public String getOptionDescription()
VcsRepositoryModuleDescriptor
getOptionDescription
in interface VcsRepositoryModuleDescriptor
@Nullable public String getIcon()
VcsRepositoryModuleDescriptor
getIcon
in interface VcsRepositoryModuleDescriptor
@Nullable public String getTooltipKey()
VcsRepositoryModuleDescriptor
getTooltipKey
in interface VcsRepositoryModuleDescriptor
public boolean isPrimary()
VcsRepositoryModuleDescriptor
isPrimary
in interface VcsRepositoryModuleDescriptor
public int getWeight()
getWeight
in interface com.atlassian.plugin.web.descriptors.WeightedDescriptor
public boolean supportsBranchDetection()
supportsBranchDetection
in interface VcsRepositoryModuleDescriptor
public boolean supportsBranchCreation()
supportsBranchCreation
in interface VcsRepositoryModuleDescriptor
public boolean supportsTagCreation()
supportsTagCreation
in interface VcsRepositoryModuleDescriptor
public boolean providesCustomVariables()
providesCustomVariables
in interface VcsRepositoryModuleDescriptor
public boolean supportsMerging()
supportsMerging
in interface VcsRepositoryModuleDescriptor
public boolean supportsRemoteUpdates()
supportsRemoteUpdates
in interface VcsRepositoryModuleDescriptor
public boolean supportsTestingConnection()
supportsTestingConnection
in interface VcsRepositoryModuleDescriptor
public boolean supportsImportFromMaven()
supportsImportFromMaven
in interface VcsRepositoryModuleDescriptor
public boolean revisionIdsAreUnique()
VcsRepositoryModuleDescriptor
revisionIdsAreUnique
in interface VcsRepositoryModuleDescriptor
@NotNull public String getTypeString()
VcsRepositoryModuleDescriptor
getTypeString
in interface VcsRepositoryModuleDescriptor
@NotNull public String getDefaultTriggerKey()
VcsRepositoryModuleDescriptor
getDefaultTriggerKey
in interface VcsRepositoryModuleDescriptor
@NotNull public String getDefaultVcsViewerKey()
VcsRepositoryModuleDescriptor
getDefaultVcsViewerKey
in interface VcsRepositoryModuleDescriptor
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.