public interface GadgetLocationTranslator
URI location for gadget specs.
This means developers are no longer restricted to the default plugin-sensitive URI format, are free to
defined custom URI and move gadgets between plugins while maintaining backward compatible URI.
This service provides a mean of translating from old public-facing identifier to an internally recognisable identifier.
| Modifier and Type | Method and Description |
|---|---|
PluginGadgetSpec.Key |
translate(PluginGadgetSpec.Key key)
Translate public-facing gadget spec key to internal plugin gadget spec key.
|
URI |
translate(URI uri)
Translate public-facing gadget spec URI to internal plugin gadget spec URI.
|
PluginGadgetSpec.Key translate(PluginGadgetSpec.Key key)
key - The gadget spec key to be translated.key.Copyright © 2024 Atlassian. All rights reserved.