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 Details

  • Method Details

    • 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 interface VcsRepositoryViewerModuleDescriptor
      Returns:
      true iff repository viewer works with given vcs plugin.
    • getConfigurator

      @NotNull public @NotNull VcsRepositoryViewerConfigurator getConfigurator()
      Specified by:
      getConfigurator in interface VcsRepositoryViewerModuleDescriptor
    • getCompleteKey

      public String getCompleteKey()
      Specified by:
      getCompleteKey in interface com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
    • getPluginKey

      public String getPluginKey()
      Specified by:
      getPluginKey in interface com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
    • getKey

      public String getKey()
      Specified by:
      getKey in interface com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
    • getName

      public String getName()
      Specified by:
      getName in interface com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
      Specified by:
      getName in interface NameProvider
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
    • getModuleClass

      public Class<VcsRepositoryViewer> getModuleClass()
      Specified by:
      getModuleClass in interface com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
    • getModule

      public VcsRepositoryViewer getModule()
      Specified by:
      getModule in interface com.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 interface com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
      Throws:
      com.atlassian.plugin.PluginParseException
    • isEnabledByDefault

      public boolean isEnabledByDefault()
      Specified by:
      isEnabledByDefault in interface com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
    • isSystemModule

      public boolean isSystemModule()
      Specified by:
      isSystemModule in interface com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
    • destroy

      public void destroy()
      Specified by:
      destroy in interface com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
    • getMinJavaVersion

      public Float getMinJavaVersion()
      Specified by:
      getMinJavaVersion in interface com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
    • satisfiesMinJavaVersion

      public boolean satisfiesMinJavaVersion()
      Specified by:
      satisfiesMinJavaVersion in interface com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
    • getParams

      public Map<String,String> getParams()
      Specified by:
      getParams in interface com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
    • getI18nNameKey

      public String getI18nNameKey()
      Specified by:
      getI18nNameKey in interface com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
    • getDescriptionKey

      public String getDescriptionKey()
      Specified by:
      getDescriptionKey in interface com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
    • getPlugin

      public com.atlassian.plugin.Plugin getPlugin()
      Specified by:
      getPlugin in interface com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in interface com.atlassian.plugin.ModuleDescriptor<VcsRepositoryViewer>
    • getResourceDescriptors

      public List<com.atlassian.plugin.elements.ResourceDescriptor> getResourceDescriptors()
      Specified by:
      getResourceDescriptors in interface com.atlassian.plugin.Resourced
    • getResourceDescriptor

      public com.atlassian.plugin.elements.ResourceDescriptor getResourceDescriptor(String s, String s1)
      Specified by:
      getResourceDescriptor in interface com.atlassian.plugin.Resourced
    • getResourceLocation

      public com.atlassian.plugin.elements.ResourceLocation getResourceLocation(String s, String s1)
      Specified by:
      getResourceLocation in interface com.atlassian.plugin.Resourced
    • getExporter

      public VcsRepositoryViewerExporter getExporter()
      Specified by:
      getExporter in interface VcsRepositoryViewerModuleDescriptor