public class

AbstractCustomFieldEvent

extends Object
java.lang.Object
   ↳ com.atlassian.jira.event.issue.field.AbstractCustomFieldEvent
Known Direct Subclasses

Class Overview

Abstract event that captures the data relevant to custom field events.

Summary

Public Constructors
AbstractCustomFieldEvent(CustomField customField)
Public Methods
CustomFieldDetails getCustomField()
String getCustomFieldId()
Returns the ID of the custom field that this event relates to.
String getFieldType()
Long getId()
Returns the ID of the custom field that this event relates to, as a number.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public AbstractCustomFieldEvent (CustomField customField)

Public Methods

public CustomFieldDetails getCustomField ()

public String getCustomFieldId ()

Returns the ID of the custom field that this event relates to. The custom field's string ID will have the form "customfield_XXXXX", where XXXXX is the value of getId().

Returns
  • a String containing the ID of the custom field

public String getFieldType ()

public Long getId ()

Returns the ID of the custom field that this event relates to, as a number. Note that the custom field's full ID is returned by getCustomFieldId().

Returns
  • a Long containing the numeric id of the custom field