public class SubscribedGadgetFeedIdGeneratorImpl extends Object implements SubscribedGadgetFeedIdGenerator
ExternalGadgetSpecIdGenerator
. This
implementation stores the next available ID in the plugin settings,
incrementing and storing the new value on each call.Constructor and Description |
---|
SubscribedGadgetFeedIdGeneratorImpl(com.atlassian.sal.api.pluginsettings.PluginSettingsFactory pluginSettingsFactory)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
newSubscribedGadgetFeedId()
Creates and returns a new globally unique ID for an
ExternalGadgetSpec . |
public SubscribedGadgetFeedIdGeneratorImpl(com.atlassian.sal.api.pluginsettings.PluginSettingsFactory pluginSettingsFactory)
pluginSettingsFactory
- the PluginSettings
provider to use
for storing the keyspublic String newSubscribedGadgetFeedId()
SubscribedGadgetFeedIdGenerator
ExternalGadgetSpec
.newSubscribedGadgetFeedId
in interface SubscribedGadgetFeedIdGenerator
Copyright © 2003–2016 Atlassian. All rights reserved.