public class PluginPersistentStateStoreMigrator extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
removeDirectives(PluginPersistentStateStore store)
Removes directives (e.g.
|
static String |
removeDirectivesFromKey(String key)
Removes any directives if they are part of the key.
|
public static void removeDirectives(PluginPersistentStateStore store)
It is responsibility of the product to initiate and call when needed this util method in order to migrate its PluginPersistentStateStore(s).
store - the product PluginPersistentStateStorepublic static String removeDirectivesFromKey(String key)
null is returned,
i.e., null indicates no-change/no-migration is needed for this key.key - the original key that needs to be processedCopyright © 2019 Atlassian. All rights reserved.