Class RankCFType
java.lang.Object
com.atlassian.jira.issue.customfields.impl.AbstractCustomFieldType<T,S>
com.atlassian.jira.issue.customfields.impl.CalculatedCFType
com.atlassian.greenhopper.customfield.rank.RankCFType
- All Implemented Interfaces:
MetadataCFType
,com.atlassian.jira.issue.customfields.CustomFieldType
,com.atlassian.jira.issue.customfields.SortableCustomField
public class RankCFType
extends com.atlassian.jira.issue.customfields.impl.CalculatedCFType
implements MetadataCFType, com.atlassian.jira.issue.customfields.SortableCustomField
The custom field type for global ranking. The field doesn't actually hold any data, it's only purpose is to join our cached rank index with Lucene
and the issue navigator.
-
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 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
FieldsModifier and TypeFieldDescriptionstatic final CustomFieldMetadata
the metadata needed to define the custom field in JIRAFields inherited from interface com.atlassian.jira.issue.customfields.CustomFieldType
DEFAULT_VALUE_TYPE, RESOURCE_PREVIEW
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSingularObjectFromString
(String string) getStringFromSingularObject
(Object singularObject) 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
Methods inherited from interface com.atlassian.jira.issue.customfields.CustomFieldType
areAllRequiredParametersPresent, getCloneOptionConfiguration, getCloneValue, getIndexers, getNonNullCustomFieldProvider, isUserInputRequiredForMove, requiresAdditionalParams
Methods inherited from interface com.atlassian.jira.issue.customfields.SortableCustomField
compare
-
Field Details
-
CUSTOMFIELD_METADATA
the metadata needed to define the custom field in JIRA
-
-
Constructor Details
-
RankCFType
-
-
Method Details
-
getValueFromIssue
public Object getValueFromIssue(com.atlassian.jira.issue.fields.CustomField field, com.atlassian.jira.issue.Issue issue) - Specified by:
getValueFromIssue
in interfacecom.atlassian.jira.issue.customfields.CustomFieldType
-
getStringFromSingularObject
- Specified by:
getStringFromSingularObject
in interfacecom.atlassian.jira.issue.customfields.CustomFieldType
-
getSingularObjectFromString
public Object getSingularObjectFromString(String string) throws com.atlassian.jira.issue.customfields.impl.FieldValidationException - Specified by:
getSingularObjectFromString
in interfacecom.atlassian.jira.issue.customfields.CustomFieldType
- Throws:
com.atlassian.jira.issue.customfields.impl.FieldValidationException
-
getMetadata
- Specified by:
getMetadata
in interfaceMetadataCFType
-