com.atlassian.greenhopper.customfield.epiclabel
Class EpicLabelCFType

java.lang.Object
  extended by com.atlassian.jira.issue.customfields.impl.AbstractCustomFieldType<T,T>
      extended by com.atlassian.jira.issue.customfields.impl.AbstractSingleFieldType<java.lang.String>
          extended by com.atlassian.jira.issue.customfields.impl.GenericTextCFType
              extended by com.atlassian.jira.issue.customfields.impl.RenderableTextCFType
                  extended by com.atlassian.greenhopper.customfield.epiclabel.EpicLabelCFType
All Implemented Interfaces:
MetadataCFType, com.atlassian.jira.imports.project.customfield.ProjectImportableCustomField, com.atlassian.jira.issue.customfields.CustomFieldType<java.lang.String,java.lang.String>, com.atlassian.jira.issue.customfields.SortableCustomField<java.lang.String>, com.atlassian.jira.issue.fields.rest.RestAwareCustomFieldType, com.atlassian.jira.issue.fields.rest.RestCustomFieldTypeOperations

public class EpicLabelCFType
extends com.atlassian.jira.issue.customfields.impl.RenderableTextCFType
implements MetadataCFType

Custom field type for the "Epic Label" of an epic


Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.jira.issue.customfields.impl.RenderableTextCFType
com.atlassian.jira.issue.customfields.impl.RenderableTextCFType.Visitor<T>
 
Nested classes/interfaces inherited from class com.atlassian.jira.issue.customfields.impl.AbstractCustomFieldType
com.atlassian.jira.issue.customfields.impl.AbstractCustomFieldType.VisitorBase<X>
 
Field Summary
static CustomFieldMetadata CUSTOMFIELD_METADATA
          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, log
 
Fields inherited from interface com.atlassian.jira.issue.customfields.CustomFieldType
DEFAULT_VALUE_TYPE
 
Constructor Summary
EpicLabelCFType(com.atlassian.jira.issue.customfields.persistence.CustomFieldValuePersister customFieldValuePersister, com.atlassian.jira.issue.customfields.manager.GenericConfigManager genericConfigManager, I18nFactoryService i18nFactory, com.atlassian.jira.security.JiraAuthenticationContext authenticationContext)
           
 
Method Summary
 CustomFieldMetadata getMetadata()
           
 void validateFromParams(com.atlassian.jira.issue.customfields.view.CustomFieldParams relevantParams, com.atlassian.jira.util.ErrorCollection errorCollectionToAddTo, com.atlassian.jira.issue.fields.config.FieldConfig config)
           
 
Methods inherited from class com.atlassian.jira.issue.customfields.impl.RenderableTextCFType
accept, isRenderable, valuesEqual
 
Methods inherited from class com.atlassian.jira.issue.customfields.impl.GenericTextCFType
compare, getDatabaseType, getDbValueFromObject, getFieldTypeInfo, getJsonFromIssue, getJsonSchema, getObjectFromDbValue, getProjectImporter, getRestFieldOperation, getSingularObjectFromString, getStringFromSingularObject
 
Methods inherited from class com.atlassian.jira.issue.customfields.impl.AbstractSingleFieldType
createValue, getChangelogValue, getDefaultValue, getJsonDefaultValue, getStringValueFromCustomFieldParams, getValueFromCustomFieldParams, getValueFromIssue, remove, setDefaultValue, updateValue
 
Methods inherited from class com.atlassian.jira.issue.customfields.impl.AbstractCustomFieldType
assertObjectImplementsType, availableForBulkEdit, getChangelogString, getConfigurationItemTypes, getDescription, getDescriptor, getI18nBean, getKey, getName, getRelatedIndexers, getVelocityParameters, getVelocityParameters, init
 
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.fields.rest.RestCustomFieldTypeOperations
getJsonDefaultValue
 

Field Detail

CUSTOMFIELD_METADATA

public static final CustomFieldMetadata CUSTOMFIELD_METADATA
the metadata needed to define the custom field in JIRA

Constructor Detail

EpicLabelCFType

public EpicLabelCFType(com.atlassian.jira.issue.customfields.persistence.CustomFieldValuePersister customFieldValuePersister,
                       com.atlassian.jira.issue.customfields.manager.GenericConfigManager genericConfigManager,
                       I18nFactoryService i18nFactory,
                       com.atlassian.jira.security.JiraAuthenticationContext authenticationContext)
Method Detail

validateFromParams

public void validateFromParams(com.atlassian.jira.issue.customfields.view.CustomFieldParams relevantParams,
                               com.atlassian.jira.util.ErrorCollection errorCollectionToAddTo,
                               com.atlassian.jira.issue.fields.config.FieldConfig config)
Specified by:
validateFromParams in interface com.atlassian.jira.issue.customfields.CustomFieldType<java.lang.String,java.lang.String>
Overrides:
validateFromParams in class com.atlassian.jira.issue.customfields.impl.AbstractSingleFieldType<java.lang.String>

getMetadata

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


Copyright © 2007-2013 Atlassian. All Rights Reserved.