com.atlassian.jira.issue.fields
Interface ConfigurableField

All Superinterfaces:
Comparable, Field, OrderableField, SearchableField
All Known Subinterfaces:
CustomField, IssueTypeField
All Known Implementing Classes:
CustomFieldImpl, CustomFieldTestImpl, IssueTypeSystemField, MockCustomField

@PublicApi
public interface ConfigurableField
extends OrderableField

ConfigurableField are fields which have FieldConfigItemType that can be stored for a given JiraContextNode


Field Summary
 
Fields inherited from interface com.atlassian.jira.issue.fields.OrderableField
MOVE_ISSUE_PARAM_KEY, NO_HEADER_PARAM_KEY, TEMPLATE_DIRECTORY_PATH
 
Method Summary
 List<Project> getAssociatedProjectObjects()
          Returns a list of projects associated with this field.
 List<org.ofbiz.core.entity.GenericValue> getAssociatedProjects()
          Deprecated. Use getAssociatedProjectObjects() instead. Since v5.2.
 List<FieldConfigItemType> getConfigurationItemTypes()
          Returns a List of FieldConfigItemType objects.
 FieldConfig getRelevantConfig(IssueContext issueContext)
           
 
Methods inherited from interface com.atlassian.jira.issue.fields.OrderableField
availableForBulkEdit, canRemoveValueFromIssueObject, createValue, getBulkEditHtml, getCreateHtml, getCreateHtml, getDefaultValue, getEditHtml, getEditHtml, getValueFromParams, getViewHtml, getViewHtml, getViewHtml, hasParam, hasValue, isShown, needsMove, populateDefaults, populateForMove, populateFromIssue, populateFromParams, populateParamsFromString, removeValueFromIssueObject, updateIssue, updateValue, validateParams
 
Methods inherited from interface com.atlassian.jira.issue.fields.SearchableField
createAssociatedSearchHandler
 
Methods inherited from interface com.atlassian.jira.issue.fields.Field
getId, getName, getNameKey
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getConfigurationItemTypes

List<FieldConfigItemType> getConfigurationItemTypes()
Returns a List of FieldConfigItemType objects. This opens up possibilties for configurable custom fields

Returns:
List of FieldConfigItemType @Nonnull

getAssociatedProjects

List<org.ofbiz.core.entity.GenericValue> getAssociatedProjects()
Deprecated. Use getAssociatedProjectObjects() instead. Since v5.2.

Returns a list of projects associated with this field. Will be null if the field is global

Returns:
List of project generic values

getAssociatedProjectObjects

List<Project> getAssociatedProjectObjects()
Returns a list of projects associated with this field. Will be null if the field is global

Returns:
a list of projects associated with this field.

getRelevantConfig

FieldConfig getRelevantConfig(IssueContext issueContext)


Copyright © 2002-2013 Atlassian. All Rights Reserved.