com.atlassian.greenhopper.customfield.epiccolor
Class EpicColorCFType

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.greenhopper.customfield.epiccolor.EpicColorCFType
All Implemented Interfaces:
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 EpicColorCFType
extends com.atlassian.jira.issue.customfields.impl.GenericTextCFType

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.GenericTextCFType
com.atlassian.jira.issue.customfields.impl.GenericTextCFType.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
protected EpicColorCFType(com.atlassian.jira.issue.customfields.persistence.CustomFieldValuePersister customFieldValuePersister, com.atlassian.jira.issue.customfields.manager.GenericConfigManager genericConfigManager)
           
 
Method Summary
 java.lang.String getDefaultValue(com.atlassian.jira.issue.fields.config.FieldConfig fieldConfig)
           
 void setDefaultValue(com.atlassian.jira.issue.fields.config.FieldConfig fieldConfig, java.lang.String value)
           
 
Methods inherited from class com.atlassian.jira.issue.customfields.impl.GenericTextCFType
accept, compare, getDatabaseType, getDbValueFromObject, getFieldTypeInfo, getJsonFromIssue, getJsonSchema, getObjectFromDbValue, getProjectImporter, getRestFieldOperation, getSingularObjectFromString, getStringFromSingularObject
 
Methods inherited from class com.atlassian.jira.issue.customfields.impl.AbstractSingleFieldType
createValue, getChangelogValue, getJsonDefaultValue, getStringValueFromCustomFieldParams, getValueFromCustomFieldParams, getValueFromIssue, remove, updateValue, validateFromParams
 
Methods inherited from class com.atlassian.jira.issue.customfields.impl.AbstractCustomFieldType
assertObjectImplementsType, availableForBulkEdit, getChangelogString, getConfigurationItemTypes, getDescription, getDescriptor, getI18nBean, getKey, getName, getRelatedIndexers, getVelocityParameters, 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.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

EpicColorCFType

protected EpicColorCFType(com.atlassian.jira.issue.customfields.persistence.CustomFieldValuePersister customFieldValuePersister,
                          com.atlassian.jira.issue.customfields.manager.GenericConfigManager genericConfigManager)
Method Detail

setDefaultValue

public void setDefaultValue(com.atlassian.jira.issue.fields.config.FieldConfig fieldConfig,
                            java.lang.String value)
Specified by:
setDefaultValue in interface com.atlassian.jira.issue.customfields.CustomFieldType<java.lang.String,java.lang.String>
Overrides:
setDefaultValue in class com.atlassian.jira.issue.customfields.impl.AbstractSingleFieldType<java.lang.String>

getDefaultValue

public java.lang.String getDefaultValue(com.atlassian.jira.issue.fields.config.FieldConfig fieldConfig)
Specified by:
getDefaultValue in interface com.atlassian.jira.issue.customfields.CustomFieldType<java.lang.String,java.lang.String>
Overrides:
getDefaultValue in class com.atlassian.jira.issue.customfields.impl.AbstractSingleFieldType<java.lang.String>


Copyright © 2007-2012 Atlassian. All Rights Reserved.