com.atlassian.jira.event.issue.field
Class AbstractCustomFieldEvent
java.lang.Object
com.atlassian.jira.event.issue.field.AbstractCustomFieldEvent
- Direct Known Subclasses:
- CustomFieldCreatedEvent, CustomFieldDeletedEvent, CustomFieldUpdatedEvent
public class AbstractCustomFieldEvent
- extends Object
Abstract event that captures the data relevant to custom field events.
- Since:
- v5.1
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractCustomFieldEvent
public AbstractCustomFieldEvent(@Nonnull
CustomField customField)
getId
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
getCustomFieldId
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
getFieldType
public String getFieldType()
getCustomField
public CustomFieldDetails getCustomField()
Copyright © 2002-2014 Atlassian. All Rights Reserved.