com.atlassian.jira.issue.fields.option
Class CachedOptionSetManager
java.lang.Object
com.atlassian.jira.issue.fields.option.CachedOptionSetManager
- All Implemented Interfaces:
- Startable, OptionSetManager, JiraCachedManager
public class CachedOptionSetManager
- extends Object
- implements OptionSetManager, JiraCachedManager, Startable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CachedOptionSetManager
public CachedOptionSetManager(OptionSetPersister optionSetPersister,
ConstantsManager constantsManager,
com.atlassian.event.api.EventPublisher eventPublisher)
start
public void start()
throws Exception
- Description copied from interface:
Startable
- This method wil be called after the plugin system is fully initialised and all components added to the
dependency injection framework.
- Specified by:
start
in interface Startable
- Throws:
Exception
- Allows implementations to throw an Exception.
onClearCache
@EventListener
public void onClearCache(ClearCacheEvent event)
init
public void init()
getOptionsForConfig
public OptionSet getOptionsForConfig(FieldConfig config)
- Specified by:
getOptionsForConfig
in interface OptionSetManager
createOptionSet
public OptionSet createOptionSet(FieldConfig config,
Collection optionIds)
- Specified by:
createOptionSet
in interface OptionSetManager
updateOptionSet
public OptionSet updateOptionSet(FieldConfig config,
Collection optionIds)
- Specified by:
updateOptionSet
in interface OptionSetManager
removeOptionSet
public void removeOptionSet(FieldConfig config)
- Specified by:
removeOptionSet
in interface OptionSetManager
getCacheSize
public long getCacheSize()
- Specified by:
getCacheSize
in interface JiraCachedManager
refreshCache
public void refreshCache()
- Specified by:
refreshCache
in interface JiraCachedManager
Copyright © 2002-2012 Atlassian. All Rights Reserved.