Class ClassicEpicLabelCustomFieldProvider
java.lang.Object
com.atlassian.greenhopper.manager.issue.fields.AbstractDefaultCustomFieldProvider
com.atlassian.greenhopper.manager.issue.fields.ClassicEpicLabelCustomFieldProvider
- All Implemented Interfaces:
DefaultCustomFieldProvider
@Service
public class ClassicEpicLabelCustomFieldProvider
extends AbstractDefaultCustomFieldProvider
Provides information about the default instance of the Epic Label field.
Note that this field isn't particularly interesting in the new JIRA Agile feature set (it was once a part of Classic
GreenHopper). This may be removed at a future date.
- Since:
- 7.1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final CustomFieldMetadatathe meta-data needed to define the custom field in JIRAFields inherited from class com.atlassian.greenhopper.manager.issue.fields.AbstractDefaultCustomFieldProvider
customFieldMetadata, customFieldService, jiraAuthenticationContext, log -
Constructor Summary
ConstructorsConstructorDescriptionClassicEpicLabelCustomFieldProvider(CustomFieldService customFieldService, com.atlassian.jira.security.JiraAuthenticationContext jiraAuthenticationContext, com.atlassian.jira.config.ReindexMessageManager reindexMessageManager, com.atlassian.beehive.ClusterLockService clusterLockService, ManagedFieldPropertyDao managedFieldPropertyDao) -
Method Summary
Modifier and TypeMethodDescriptionprotected Longprotected voidPersist the custom field ID for later retrievalMethods inherited from class com.atlassian.greenhopper.manager.issue.fields.AbstractDefaultCustomFieldProvider
afterFieldIsProduced, doesDefaultFieldExist, getOrCreateDefaultField
-
Field Details
-
CLASSIC_EPIC_LABEL_FIELD_NAME
- See Also:
-
CLASSIC_EPIC_LABEL_FIELD_DESC
- See Also:
-
CUSTOMFIELD_METADATA
the meta-data needed to define the custom field in JIRA
-
-
Constructor Details
-
ClassicEpicLabelCustomFieldProvider
@Autowired public ClassicEpicLabelCustomFieldProvider(CustomFieldService customFieldService, com.atlassian.jira.security.JiraAuthenticationContext jiraAuthenticationContext, com.atlassian.jira.config.ReindexMessageManager reindexMessageManager, com.atlassian.beehive.ClusterLockService clusterLockService, ManagedFieldPropertyDao managedFieldPropertyDao)
-
-
Method Details
-
getStoredCustomFieldId
- Specified by:
getStoredCustomFieldIdin classAbstractDefaultCustomFieldProvider- Returns:
- the currently persisted custom field ID
-
setStoredCustomFieldId
Description copied from class:AbstractDefaultCustomFieldProviderPersist the custom field ID for later retrieval- Specified by:
setStoredCustomFieldIdin classAbstractDefaultCustomFieldProvider- Parameters:
id- the custom field ID
-