Class EpicStatusCFType

java.lang.Object
com.atlassian.jira.issue.customfields.impl.AbstractCustomFieldType<T,T>
com.atlassian.jira.issue.customfields.impl.AbstractSingleFieldType<com.atlassian.jira.issue.customfields.option.Option>
com.atlassian.jira.issue.customfields.impl.SelectCFType
com.atlassian.greenhopper.customfield.epicstatus.EpicStatusCFType
All Implemented Interfaces:
MetadataCFType, com.atlassian.jira.imports.project.customfield.ProjectImportableCustomField, com.atlassian.jira.issue.customfields.CustomFieldType<com.atlassian.jira.issue.customfields.option.Option,com.atlassian.jira.issue.customfields.option.Option>, com.atlassian.jira.issue.customfields.GroupSelectorField, com.atlassian.jira.issue.customfields.MultipleCustomFieldType<com.atlassian.jira.issue.customfields.option.Option,com.atlassian.jira.issue.customfields.option.Option>, com.atlassian.jira.issue.customfields.MultipleSettableCustomFieldType<com.atlassian.jira.issue.customfields.option.Option,com.atlassian.jira.issue.customfields.option.Option>, com.atlassian.jira.issue.customfields.SortableCustomField<String>, com.atlassian.jira.issue.export.customfield.ExportableCustomFieldType, com.atlassian.jira.issue.fields.rest.RestAwareCustomFieldType, com.atlassian.jira.issue.fields.rest.RestCustomFieldTypeOperations

public class EpicStatusCFType extends com.atlassian.jira.issue.customfields.impl.SelectCFType implements MetadataCFType
A type to store the status of an Epic. Essentially just a SelectCFType.
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.atlassian.jira.issue.customfields.impl.SelectCFType

    com.atlassian.jira.issue.customfields.impl.SelectCFType.Visitor<T extends Object>

    Nested classes/interfaces inherited from class com.atlassian.jira.issue.customfields.impl.AbstractCustomFieldType

    com.atlassian.jira.issue.customfields.impl.AbstractCustomFieldType.VisitorBase<X extends Object>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final CustomFieldMetadata
    The metadata needed to define the custom field in JIRA

    Fields inherited from class com.atlassian.jira.issue.customfields.impl.AbstractSingleFieldType

    customFieldValuePersister, FIELD_TYPE_DATE, FIELD_TYPE_NUMBER, FIELD_TYPE_STRING, FIELD_TYPE_TEXT, genericConfigManager

    Fields inherited from interface com.atlassian.jira.issue.customfields.CustomFieldType

    DEFAULT_VALUE_TYPE, RESOURCE_PREVIEW
  • Constructor Summary

    Constructors
    Constructor
    Description
    EpicStatusCFType(com.atlassian.jira.issue.customfields.persistence.CustomFieldValuePersister customFieldValuePersister, com.atlassian.jira.issue.customfields.manager.OptionsManager optionsManager, com.atlassian.jira.issue.customfields.manager.GenericConfigManager genericConfigManager, com.atlassian.jira.issue.fields.rest.json.beans.JiraBaseUrls jiraBaseUrls)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.atlassian.jira.issue.customfields.option.Option
    getCloneValue(com.atlassian.jira.issue.fields.CustomField field, com.atlassian.jira.issue.Issue issueToClone, Optional<Boolean> cloneOptionSelection)
     
     
    com.atlassian.jira.issue.customfields.vdi.NonNullCustomFieldProvider
     

    Methods inherited from class com.atlassian.jira.issue.customfields.impl.SelectCFType

    accept, compare, getChangelogString, getConfigurationItemTypes, getDatabaseType, getDbValueFromObject, getDefaultValue, getFieldTypeInfo, getIdentifiersForGroup, getIssueIdsWithValue, getJsonDefaultValue, getJsonFromIssue, getJsonSchema, getObjectFromDbValue, getOptions, getOptions, getProjectImporter, getRepresentationFromIssue, getRestFieldOperation, getSingularObjectFromString, getStringFromSingularObject, getVelocityParameters, remove, removeValue, setDefaultValue, validateFromParams

    Methods inherited from class com.atlassian.jira.issue.customfields.impl.AbstractSingleFieldType

    createValue, getChangelogValue, getStringValueFromCustomFieldParams, getValueFromCustomFieldParams, getValueFromIssue, getValueFromIssue, updateValue

    Methods inherited from class com.atlassian.jira.issue.customfields.impl.AbstractCustomFieldType

    assertObjectImplementsType, availableForBulkEdit, getDescription, getDescriptor, getI18nBean, getKey, getName, getRelatedIndexers, getVelocityParameters, init, isRenderable, valuesEqual

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.atlassian.jira.issue.customfields.CustomFieldType

    areAllRequiredParametersPresent, availableForBulkEdit, createValue, getChangelogValue, getCloneOptionConfiguration, getDescription, getDescriptor, getIndexers, getKey, getName, getRelatedIndexers, getStringValueFromCustomFieldParams, getValueFromCustomFieldParams, getValueFromIssue, init, isRenderable, isUserInputRequiredForMove, requiresAdditionalParams, updateValue, valuesEqual
  • Field Details

    • CUSTOMFIELD_METADATA

      public static final CustomFieldMetadata CUSTOMFIELD_METADATA
      The metadata needed to define the custom field in JIRA
  • Constructor Details

    • EpicStatusCFType

      public EpicStatusCFType(com.atlassian.jira.issue.customfields.persistence.CustomFieldValuePersister customFieldValuePersister, com.atlassian.jira.issue.customfields.manager.OptionsManager optionsManager, com.atlassian.jira.issue.customfields.manager.GenericConfigManager genericConfigManager, com.atlassian.jira.issue.fields.rest.json.beans.JiraBaseUrls jiraBaseUrls)
  • Method Details

    • getCloneValue

      public com.atlassian.jira.issue.customfields.option.Option getCloneValue(com.atlassian.jira.issue.fields.CustomField field, com.atlassian.jira.issue.Issue issueToClone, Optional<Boolean> cloneOptionSelection)
      Specified by:
      getCloneValue in interface com.atlassian.jira.issue.customfields.CustomFieldType<com.atlassian.jira.issue.customfields.option.Option,com.atlassian.jira.issue.customfields.option.Option>
    • getMetadata

      public CustomFieldMetadata getMetadata()
      Specified by:
      getMetadata in interface MetadataCFType
    • getNonNullCustomFieldProvider

      public com.atlassian.jira.issue.customfields.vdi.NonNullCustomFieldProvider getNonNullCustomFieldProvider()
      Specified by:
      getNonNullCustomFieldProvider in interface com.atlassian.jira.issue.customfields.CustomFieldType<com.atlassian.jira.issue.customfields.option.Option,com.atlassian.jira.issue.customfields.option.Option>
      Overrides:
      getNonNullCustomFieldProvider in class com.atlassian.jira.issue.customfields.impl.SelectCFType