public class CustomFieldUsageDataService extends Object
JiraFeatureFlagRegistrar.CUSTOMFIELDS_IDENTIFICATION
feature flag.
Once calculated, the values are being stored with the custom field.
since 8.16Modifier and Type | Class and Description |
---|---|
static class |
CustomFieldUsageDataService.LockNotAcquiredException |
Modifier and Type | Field and Description |
---|---|
static String |
CF_USAGE_CLUSTER_LOCK_NAME |
static int |
DEFAULT_DATA_COLLECTION_QUERY_MAX_IDS |
static Set<String> |
DEFAULT_TRUSTED_CUSTOM_FIELD_TYPE_KEYS
As custom fields don't store their values in one single standardized way we divided them into two groups: trusted and untrusted custom fields.
|
Constructor and Description |
---|
CustomFieldUsageDataService(CustomFieldManager customFieldManager,
CustomFieldUsageDAO dao,
CustomFieldUsageDataWriter lastUpdateDataWriter,
ApplicationProperties applicationProperties,
CustomFieldUsageEnabledCheck featureEnabledCheck,
com.atlassian.beehive.ClusterLockService clusterLockService,
com.atlassian.event.api.EventPublisher eventPublisher) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getTrustedKeys() |
void |
onPluginFrameworkShutdownEvent(com.atlassian.plugin.event.events.PluginFrameworkShutdownEvent event) |
void |
updateLastValueUpdateForCustomFields(Set<Long> customFieldsId) |
public static final Set<String> DEFAULT_TRUSTED_CUSTOM_FIELD_TYPE_KEYS
public static final int DEFAULT_DATA_COLLECTION_QUERY_MAX_IDS
public static final String CF_USAGE_CLUSTER_LOCK_NAME
public CustomFieldUsageDataService(CustomFieldManager customFieldManager, CustomFieldUsageDAO dao, CustomFieldUsageDataWriter lastUpdateDataWriter, ApplicationProperties applicationProperties, CustomFieldUsageEnabledCheck featureEnabledCheck, com.atlassian.beehive.ClusterLockService clusterLockService, com.atlassian.event.api.EventPublisher eventPublisher)
Copyright © 2002-2023 Atlassian. All Rights Reserved.