com.atlassian.greenhopper.customfield.epiclink
Class EpicLinkCFType

java.lang.Object
  extended by com.atlassian.jira.issue.customfields.impl.AbstractCustomFieldType<T,S>
      extended by com.atlassian.jira.issue.customfields.impl.CalculatedCFType
          extended by com.atlassian.greenhopper.customfield.epiclink.EpicLinkCFType
All Implemented Interfaces:
MetadataCFType, com.atlassian.jira.issue.customfields.CustomFieldType, com.atlassian.jira.issue.customfields.SortableCustomField

public class EpicLinkCFType
extends com.atlassian.jira.issue.customfields.impl.CalculatedCFType
implements MetadataCFType

A custom field type to allow GreenHopper to store extra information about the Epic-Issue relationship in the index.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.jira.issue.customfields.impl.CalculatedCFType
com.atlassian.jira.issue.customfields.impl.CalculatedCFType.Visitor<X>
 
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 interface com.atlassian.jira.issue.customfields.CustomFieldType
DEFAULT_VALUE_TYPE
 
Constructor Summary
protected EpicLinkCFType(EpicLinkManager epicLinkManager, com.atlassian.jira.issue.IssueManager issueManager)
           
 
Method Summary
 CustomFieldMetadata getMetadata()
           
 java.lang.Object getSingularObjectFromString(java.lang.String string)
           
 java.lang.String getStringFromSingularObject(java.lang.Object singularObject)
           
 java.lang.Object getValueFromIssue(com.atlassian.jira.issue.fields.CustomField field, com.atlassian.jira.issue.Issue issue)
           
 
Methods inherited from class com.atlassian.jira.issue.customfields.impl.CalculatedCFType
accept, compare, createValue, getChangelogValue, getConfigurationItemTypes, getDefaultValue, getStringValueFromCustomFieldParams, getValueFromCustomFieldParams, remove, setDefaultValue, updateValue, validateFromParams
 
Methods inherited from class com.atlassian.jira.issue.customfields.impl.AbstractCustomFieldType
assertObjectImplementsType, availableForBulkEdit, getChangelogString, 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
 

Field Detail

CUSTOMFIELD_METADATA

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

Constructor Detail

EpicLinkCFType

protected EpicLinkCFType(EpicLinkManager epicLinkManager,
                         com.atlassian.jira.issue.IssueManager issueManager)
Method Detail

getStringFromSingularObject

public java.lang.String getStringFromSingularObject(java.lang.Object singularObject)
Specified by:
getStringFromSingularObject in interface com.atlassian.jira.issue.customfields.CustomFieldType

getSingularObjectFromString

public java.lang.Object getSingularObjectFromString(java.lang.String string)
                                             throws com.atlassian.jira.issue.customfields.impl.FieldValidationException
Specified by:
getSingularObjectFromString in interface com.atlassian.jira.issue.customfields.CustomFieldType
Throws:
com.atlassian.jira.issue.customfields.impl.FieldValidationException

getValueFromIssue

public java.lang.Object getValueFromIssue(com.atlassian.jira.issue.fields.CustomField field,
                                          com.atlassian.jira.issue.Issue issue)
Specified by:
getValueFromIssue in interface com.atlassian.jira.issue.customfields.CustomFieldType

getMetadata

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


Copyright © 2007-2013 Atlassian. All Rights Reserved.