Class GadgetApplinkUpgradeUtilImpl

java.lang.Object
com.atlassian.jira.bc.portal.GadgetApplinkUpgradeUtilImpl
All Implemented Interfaces:
GadgetApplinkUpgradeUtil

public class GadgetApplinkUpgradeUtilImpl extends Object implements GadgetApplinkUpgradeUtil
Utility that helps determine if there are any external gadget specs that need to have applinks created for them!
Since:
v4.3
  • Constructor Details

    • GadgetApplinkUpgradeUtilImpl

      public GadgetApplinkUpgradeUtilImpl(com.atlassian.gadgets.directory.spi.ExternalGadgetSpecStore externalGadgetSpecStore)
  • Method Details

    • getExternalGadgetsRequiringUpgrade

      public Map<URI,List<com.atlassian.gadgets.directory.spi.ExternalGadgetSpec>> getExternalGadgetsRequiringUpgrade()
      Returns a mapping of a baseurl that doesn't have an applink configured yet to a list of gadget specs starting with that base url
      Specified by:
      getExternalGadgetsRequiringUpgrade in interface GadgetApplinkUpgradeUtil
      Returns:
      Map of baseurl -> List of gadget specs starting with that baseurl