Package com.atlassian.jira.bc.portal
Class GadgetApplinkUpgradeUtilImpl
java.lang.Object
com.atlassian.jira.bc.portal.GadgetApplinkUpgradeUtilImpl
- All Implemented Interfaces:
GadgetApplinkUpgradeUtil
Utility that helps determine if there are any external gadget specs that need to have applinks created for them!
- Since:
- v4.3
-
Constructor Summary
ConstructorsConstructorDescriptionGadgetApplinkUpgradeUtilImpl
(com.atlassian.gadgets.directory.spi.ExternalGadgetSpecStore externalGadgetSpecStore) -
Method Summary
Modifier and TypeMethodDescriptionReturns a mapping of a baseurl that doesn't have an applink configured yet to a list of gadget specs starting with that base url
-
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 interfaceGadgetApplinkUpgradeUtil
- Returns:
- Map of baseurl -> List of gadget specs starting with that baseurl
-