public class DefaultProjectPropertiesManager extends Object implements ProjectPropertiesManager, Startable
ProjectPropertiesManager
.ProjectPropertiesManager
Modifier and Type | Field and Description |
---|---|
static String |
PROJECT_ENTITY_NAME |
Constructor and Description |
---|
DefaultProjectPropertiesManager(com.atlassian.cache.CacheManager cacheManager,
QueryDslAccessor queryDslAccessor,
com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar) |
Modifier and Type | Method and Description |
---|---|
com.opensymphony.module.propertyset.PropertySet |
getPropertySet(Project project)
Retrieve all properties associated with the given project.
|
void |
onClearCache(ClearCacheEvent event) |
void |
onDatabaseImportCompleted(DatabaseImportCompletedEvent event) |
void |
start()
This method will be called after the plugin system is fully initialised and all components added to the
dependency injection framework.
|
public static final String PROJECT_ENTITY_NAME
public DefaultProjectPropertiesManager(com.atlassian.cache.CacheManager cacheManager, QueryDslAccessor queryDslAccessor, com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar)
public void start() throws Exception
Startable
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
project
- project@EventListener public void onClearCache(@Nullable ClearCacheEvent event)
@EventListener public void onDatabaseImportCompleted(DatabaseImportCompletedEvent event)
Copyright © 2002-2021 Atlassian. All Rights Reserved.