Class RecentlyUpdatedMacroTabProvider

java.lang.Object
com.atlassian.confluence.plugins.macros.dashboard.recentupdates.RecentlyUpdatedMacroTabProvider
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean

@Component public class RecentlyUpdatedMacroTabProvider extends Object implements org.springframework.beans.factory.InitializingBean
Provider for tabs. Holds instances of each type of tab.
  • Constructor Details

  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet()
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
    • getAvailableTabs

      public List<RecentlyUpdatedMacroTab> getAvailableTabs()
    • getTabByName

      public RecentlyUpdatedMacroTab getTabByName(String name)
      Returns the tab with the specified name, or a default tab if no tab matches the name.
      Parameters:
      name - The string identifier for the tab. See RecentlyUpdatedMacroTab
      Returns:
      The tab object for that tab
    • getDefaultTab

      public RecentlyUpdatedMacroTab getDefaultTab()
      Returns:
      the default tab for the recently updated macro.