public interface LegacyPortletUpgradeTask
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
convertUserPrefs(com.opensymphony.module.propertyset.PropertySet propertySet)
Converts the propertySet in use by this portletConfiguration to a Map
|
URI |
getGadgetUri()
Returns the gadget URI to be used for this portlet.
|
String |
getPortletKey()
Returns the portletKey that this upgrade task can convert.
|
String getPortletKey()
com.atlassian.jira.portal.Portlet#getId()
. For example: 'com.atlassian.jira.plugin.system.portlets:inprogress'URI getGadgetUri()
Map<String,String> convertUserPrefs(com.opensymphony.module.propertyset.PropertySet propertySet)
Implementations may choose to convert properties to userprefs depending on the new gadgets requirements. This doesn't have to represent a 1 to 1 mapping.
propertySet
- the old portletConfiguration propertySet to be convertedCopyright © 2002-2021 Atlassian. All Rights Reserved.