com.atlassian.jira.issue.fields
Class CustomFieldImpl
java.lang.Object
com.atlassian.jira.issue.fields.AbstractField
com.atlassian.jira.issue.fields.NavigableFieldImpl
com.atlassian.jira.issue.fields.NavigableOrderableFieldImpl
com.atlassian.jira.issue.fields.NavigableHideableFieldImpl
com.atlassian.jira.issue.fields.CustomFieldImpl
- All Implemented Interfaces:
- CustomField, Field, HideableField, NavigableField, OrderableField, RequirableField
- public class CustomFieldImpl
- extends NavigableHideableFieldImpl
- implements CustomField
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
CustomFieldImpl
public CustomFieldImpl(GenericValue customField)
getGenericValue
public GenericValue getGenericValue()
- Specified by:
getGenericValue
in interface CustomField
getIssueType
public java.lang.String getIssueType()
- Specified by:
getIssueType
in interface CustomField
isProjectCustomField
public boolean isProjectCustomField()
- Specified by:
isProjectCustomField
in interface CustomField
isIssueTypeCustomField
public boolean isIssueTypeCustomField()
- Specified by:
isIssueTypeCustomField
in interface CustomField
getProject
public GenericValue getProject()
- Specified by:
getProject
in interface CustomField
isInScope
public boolean isInScope(User remoteUser,
GenericValue project,
java.util.List issueTypes)
- Determines if the custom field based on the entities passed (project or issue type)
If intities is null the method will not check whether the field is hidden for any entities
but return false (unless it has been manually hidden). If entities is an empty list
the method will return false only if the field is a global custom field.
- Specified by:
isInScope
in interface CustomField
- Returns:
getCustomFieldId
public java.lang.Long getCustomFieldId()
getDescription
public java.lang.String getDescription()