public class LegacyVcsRepositoryViewerModuleDescriptor extends Object implements VcsRepositoryViewerModuleDescriptor
Constructor and Description |
---|
LegacyVcsRepositoryViewerModuleDescriptor(WebRepositoryViewerModuleDescriptor legacyDescriptor) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
destroy(com.atlassian.plugin.Plugin plugin) |
String |
getCompleteKey() |
VcsRepositoryViewerConfigurator |
getConfigurator() |
String |
getDescription() |
String |
getDescriptionKey() |
VcsRepositoryViewerExporter |
getExporter() |
String |
getI18nNameKey() |
String |
getKey() |
Float |
getMinJavaVersion() |
VcsRepositoryViewer |
getModule() |
Class<VcsRepositoryViewer> |
getModuleClass() |
String |
getName() |
Map<String,String> |
getParams() |
com.atlassian.plugin.Plugin |
getPlugin() |
String |
getPluginKey() |
com.atlassian.plugin.elements.ResourceDescriptor |
getResourceDescriptor(String s,
String s1) |
List<com.atlassian.plugin.elements.ResourceDescriptor> |
getResourceDescriptors() |
List<com.atlassian.plugin.elements.ResourceDescriptor> |
getResourceDescriptors(String s) |
com.atlassian.plugin.elements.ResourceLocation |
getResourceLocation(String s,
String s1) |
void |
init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element) |
boolean |
isEnabled() |
boolean |
isEnabledByDefault() |
boolean |
isSystemModule() |
boolean |
satisfiesMinJavaVersion() |
boolean |
supportsVcsRepositoryType(String pluginKey)
Check if this viewer can be used for a given kind of vcs.
|
public LegacyVcsRepositoryViewerModuleDescriptor(WebRepositoryViewerModuleDescriptor legacyDescriptor)
public boolean supportsVcsRepositoryType(@NotNull String pluginKey)
VcsRepositoryViewerModuleDescriptor
supportsVcsRepositoryType
in interface VcsRepositoryViewerModuleDescriptor
@NotNull public VcsRepositoryViewerConfigurator getConfigurator()
getConfigurator
in interface VcsRepositoryViewerModuleDescriptor
public String getCompleteKey()
getCompleteKey
in interface com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
public String getPluginKey()
getPluginKey
in interface com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
public String getKey()
getKey
in interface com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
public String getName()
getName
in interface NameProvider
getName
in interface com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
public String getDescription()
getDescription
in interface com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
public Class<VcsRepositoryViewer> getModuleClass()
getModuleClass
in interface com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
public VcsRepositoryViewer getModule()
getModule
in interface com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
public void init(@NotNull com.atlassian.plugin.Plugin plugin, @NotNull org.dom4j.Element element) throws com.atlassian.plugin.PluginParseException
init
in interface com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
com.atlassian.plugin.PluginParseException
public boolean isEnabledByDefault()
isEnabledByDefault
in interface com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
public boolean isSystemModule()
isSystemModule
in interface com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
public void destroy(com.atlassian.plugin.Plugin plugin)
destroy
in interface com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
public void destroy()
destroy
in interface com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
public Float getMinJavaVersion()
getMinJavaVersion
in interface com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
public boolean satisfiesMinJavaVersion()
satisfiesMinJavaVersion
in interface com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
public Map<String,String> getParams()
getParams
in interface com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
public String getI18nNameKey()
getI18nNameKey
in interface com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
public String getDescriptionKey()
getDescriptionKey
in interface com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
public com.atlassian.plugin.Plugin getPlugin()
getPlugin
in interface com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
public boolean isEnabled()
isEnabled
in interface com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
public List<com.atlassian.plugin.elements.ResourceDescriptor> getResourceDescriptors()
getResourceDescriptors
in interface com.atlassian.plugin.Resourced
public List<com.atlassian.plugin.elements.ResourceDescriptor> getResourceDescriptors(String s)
getResourceDescriptors
in interface com.atlassian.plugin.Resourced
public com.atlassian.plugin.elements.ResourceDescriptor getResourceDescriptor(String s, String s1)
getResourceDescriptor
in interface com.atlassian.plugin.Resourced
public com.atlassian.plugin.elements.ResourceLocation getResourceLocation(String s, String s1)
getResourceLocation
in interface com.atlassian.plugin.Resourced
public VcsRepositoryViewerExporter getExporter()
getExporter
in interface VcsRepositoryViewerModuleDescriptor
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.