Class VcsRepositoryViewerModuleDescriptorImpl
- java.lang.Object
-
- com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
-
- com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor<VcsRepositoryViewer>
-
- com.atlassian.bamboo.vcs.viewer.module.VcsRepositoryViewerModuleDescriptorImpl
-
- All Implemented Interfaces:
NameProvider
,VcsRepositoryViewerModuleDescriptor
,com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
,com.atlassian.plugin.Resourced
,com.atlassian.plugin.ScopeAware
,com.atlassian.plugin.StateAware
public class VcsRepositoryViewerModuleDescriptorImpl extends AbstractBambooModuleDescriptor<VcsRepositoryViewer> implements VcsRepositoryViewerModuleDescriptor
-
-
Constructor Summary
Constructors Constructor Description VcsRepositoryViewerModuleDescriptorImpl(com.atlassian.plugin.module.ModuleFactory moduleFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull VcsRepositoryViewerConfigurator
getConfigurator()
@NotNull VcsRepositoryViewerExporter
getExporter()
void
init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element)
boolean
supportsVcsRepositoryType(@NotNull String pluginKey)
Check if this viewer can be used for a given kind of vcs.-
Methods inherited from class com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor
disabled, getElementAsString, getFreeMarkerResourceLocation, getModule, getVelocityResourceLocation, instantiateClass, instantiateSubmodule, isMutable, postInit, preInit
-
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, 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, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.atlassian.plugin.ModuleDescriptor
destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getDisplayName, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion, setBroken
-
Methods inherited from interface com.atlassian.bamboo.utils.NameProvider
getName
-
-
-
-
Method Detail
-
init
public void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element) throws com.atlassian.plugin.PluginParseException
- Specified by:
init
in interfacecom.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
- Overrides:
init
in classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<VcsRepositoryViewer>
- Throws:
com.atlassian.plugin.PluginParseException
-
getConfigurator
@NotNull public @NotNull VcsRepositoryViewerConfigurator getConfigurator()
- Specified by:
getConfigurator
in interfaceVcsRepositoryViewerModuleDescriptor
-
supportsVcsRepositoryType
public boolean supportsVcsRepositoryType(@NotNull @NotNull String pluginKey)
Description copied from interface:VcsRepositoryViewerModuleDescriptor
Check if this viewer can be used for a given kind of vcs. If a viewer supports any type of vcs simply return true.- Specified by:
supportsVcsRepositoryType
in interfaceVcsRepositoryViewerModuleDescriptor
- Returns:
- true iff repository viewer works with given vcs plugin.
-
getExporter
@NotNull public @NotNull VcsRepositoryViewerExporter getExporter()
- Specified by:
getExporter
in interfaceVcsRepositoryViewerModuleDescriptor
-
-