public class ZDUProjectPropertiesManager extends DefaultProjectPropertiesManager
DefaultProjectPropertiesManager
which switched from using the common property set
cache ComponentCachingOfBizPropertyEntryStore
to the per project
cache SingleEntityCachingOfBizPropertyEntryStore
Note: this can be removed in Jira 9.0.PROJECT_ENTITY_NAME
Constructor and Description |
---|
ZDUProjectPropertiesManager(com.atlassian.cache.CacheManager cacheManager,
QueryDslAccessor queryDslAccessor,
com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar,
ZDUDbBackedCachedPropertySetManager zduDbBackedCachedPropertySetManager) |
Modifier and Type | Method and Description |
---|---|
com.opensymphony.module.propertyset.PropertySet |
getPropertySet(Project project)
Retrieve all properties associated with the given project.
|
void |
onJiraUpgradedEvent(JiraUpgradedEvent jiraUpgradedEvent) |
onClearCache, onDatabaseImportCompleted, start
public ZDUProjectPropertiesManager(com.atlassian.cache.CacheManager cacheManager, QueryDslAccessor queryDslAccessor, com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar, ZDUDbBackedCachedPropertySetManager zduDbBackedCachedPropertySetManager)
public com.opensymphony.module.propertyset.PropertySet getPropertySet(Project project)
ProjectPropertiesManager
The returned PropertySet is mutable and could be used to directly update data in database.
getPropertySet
in interface ProjectPropertiesManager
getPropertySet
in class DefaultProjectPropertiesManager
project
- project@EventListener public void onJiraUpgradedEvent(JiraUpgradedEvent jiraUpgradedEvent)
Copyright © 2002-2021 Atlassian. All Rights Reserved.