Class LegacyVcsRepositoryViewerModuleDescriptor
java.lang.Object
com.atlassian.bamboo.vcs.viewer.legacy.LegacyVcsRepositoryViewerModuleDescriptor
- All Implemented Interfaces:
NameProvider
,VcsRepositoryViewerModuleDescriptor
,com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
,com.atlassian.plugin.Resourced
,com.atlassian.plugin.ScopeAware
public class LegacyVcsRepositoryViewerModuleDescriptor
extends Object
implements VcsRepositoryViewerModuleDescriptor
-
Constructor Summary
ConstructorDescriptionLegacyVcsRepositoryViewerModuleDescriptor
(WebRepositoryViewerModuleDescriptor legacyDescriptor) -
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
@NotNull VcsRepositoryViewerConfigurator
getKey()
getName()
com.atlassian.plugin.Plugin
com.atlassian.plugin.elements.ResourceDescriptor
getResourceDescriptor
(String s, String s1) List<com.atlassian.plugin.elements.ResourceDescriptor>
com.atlassian.plugin.elements.ResourceLocation
getResourceLocation
(String s, String s1) void
init
(@NotNull com.atlassian.plugin.Plugin plugin, @NotNull com.atlassian.plugin.module.Element element) boolean
boolean
boolean
boolean
boolean
supportsVcsRepositoryType
(@NotNull String pluginKey) Check if this viewer can be used for a given kind of vcs.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.plugin.ModuleDescriptor
equals, getDisplayName, hashCode, isBroken, setBroken
Methods inherited from interface com.atlassian.plugin.ScopeAware
getScopeKey
-
Constructor Details
-
LegacyVcsRepositoryViewerModuleDescriptor
public LegacyVcsRepositoryViewerModuleDescriptor(WebRepositoryViewerModuleDescriptor legacyDescriptor)
-
-
Method Details
-
supportsVcsRepositoryType
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.
-
getConfigurator
- Specified by:
getConfigurator
in interfaceVcsRepositoryViewerModuleDescriptor
-
getCompleteKey
- Specified by:
getCompleteKey
in interfacecom.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
-
getPluginKey
- Specified by:
getPluginKey
in interfacecom.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
-
getKey
- Specified by:
getKey
in interfacecom.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
-
getName
- Specified by:
getName
in interfacecom.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
- Specified by:
getName
in interfaceNameProvider
-
getDescription
- Specified by:
getDescription
in interfacecom.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
-
getModuleClass
- Specified by:
getModuleClass
in interfacecom.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
-
getModule
- Specified by:
getModule
in interfacecom.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
-
init
public void init(@NotNull @NotNull com.atlassian.plugin.Plugin plugin, @NotNull @NotNull com.atlassian.plugin.module.Element element) throws com.atlassian.plugin.PluginParseException - Specified by:
init
in interfacecom.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
- Throws:
com.atlassian.plugin.PluginParseException
-
isEnabledByDefault
public boolean isEnabledByDefault()- Specified by:
isEnabledByDefault
in interfacecom.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
-
isSystemModule
public boolean isSystemModule()- Specified by:
isSystemModule
in interfacecom.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
-
destroy
public void destroy()- Specified by:
destroy
in interfacecom.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
-
getMinJavaVersion
- Specified by:
getMinJavaVersion
in interfacecom.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
-
satisfiesMinJavaVersion
public boolean satisfiesMinJavaVersion()- Specified by:
satisfiesMinJavaVersion
in interfacecom.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
-
getParams
- Specified by:
getParams
in interfacecom.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
-
getI18nNameKey
- Specified by:
getI18nNameKey
in interfacecom.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
-
getDescriptionKey
- Specified by:
getDescriptionKey
in interfacecom.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
-
getPlugin
public com.atlassian.plugin.Plugin getPlugin()- Specified by:
getPlugin
in interfacecom.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in interfacecom.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
-
getResourceDescriptors
- Specified by:
getResourceDescriptors
in interfacecom.atlassian.plugin.Resourced
-
getResourceDescriptor
- Specified by:
getResourceDescriptor
in interfacecom.atlassian.plugin.Resourced
-
getResourceLocation
- Specified by:
getResourceLocation
in interfacecom.atlassian.plugin.Resourced
-
getExporter
- Specified by:
getExporter
in interfaceVcsRepositoryViewerModuleDescriptor
-