com.atlassian.jira.bc.portal
Class GadgetApplinkUpgradeUtilImpl

java.lang.Object
  extended by 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 Summary
GadgetApplinkUpgradeUtilImpl(com.atlassian.gadgets.directory.spi.ExternalGadgetSpecStore externalGadgetSpecStore)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GadgetApplinkUpgradeUtilImpl

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

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


Copyright © 2002-2014 Atlassian. All Rights Reserved.