java.lang.Object | |
↳ | com.atlassian.jira.event.type.EventType |
Clients of @PublicApi
can expect
that programs compiled against a given version will remain binary compatible with later versions of the
@PublicApi
as per each product's API policy as long as the client does not implement/extend
@PublicApi
interfaces or classes (refer to each product's API policy for the exact
guarantee---usually binary compatibility is guaranteed at least across minor versions).
@PublicApi
interfaces and classes are not designed to be implemented or extended by clients,
we may perform certain types of binary-incompatible changes to these classes and interfaces, but these will not
affect well-behaved clients that do not extend/implement these types (in general, only classes and interfaces
annotated with @PublicSpi
are safe to extend/implement).
This class describes the type of event.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | EVENT_TYPE | ||||||||||
String | JIRA_SYSTEM_EVENT_TYPE |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ISSUE_ASSIGNED_ID | |||||||||||
ISSUE_CLOSED_ID | |||||||||||
ISSUE_COMMENTED_ID | |||||||||||
ISSUE_COMMENT_DELETED_ID | |||||||||||
ISSUE_COMMENT_EDITED_ID | |||||||||||
ISSUE_CREATED_ID | |||||||||||
ISSUE_DELETED_ID | |||||||||||
ISSUE_GENERICEVENT_ID | |||||||||||
ISSUE_MOVED_ID | |||||||||||
ISSUE_REOPENED_ID | |||||||||||
ISSUE_RESOLVED_ID | |||||||||||
ISSUE_UPDATED_ID | |||||||||||
ISSUE_WORKLOGGED_ID | |||||||||||
ISSUE_WORKLOG_DELETED_ID | |||||||||||
ISSUE_WORKLOG_UPDATED_ID | |||||||||||
ISSUE_WORKSTARTED_ID | |||||||||||
ISSUE_WORKSTOPPED_ID |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create an Event Type.
| |||||||||||
Create an Event Type.
| |||||||||||
Create an Event Type.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieve the default template id associated with this event type.
| |||||||||||
Allows i18n keys to be specified in the properties file to allow translation of the event type description.
| |||||||||||
Allows i18n keys to be specified in the properties file to allow translation of the event type name.
| |||||||||||
Set the default template id to be associated with this event type.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Create an Event Type.
name | name of this event type |
---|---|
description | description of this event type |
templateId | the default template for his event type |
Create an Event Type.
id | id of this event type |
---|---|
name | name of this event type |
description | description of this event type |
templateId | the default template for his event type |
Create an Event Type. The given generic value needs to have the following attributes set:
eventTypeGV | generic value |
---|
Retrieve the default template id associated with this event type.
If the event type is not associated with
a default template, return the event type id as the template id. In this case, the event type id should match
with a suitable template for this event.
Refer to email-template-id-mappings.xml and
upgrade-system-event-types.xml.
Allows i18n keys to be specified in the properties file to allow translation of the event type description.
remoteUser | current user |
---|
Allows i18n keys to be specified in the properties file to allow translation of the event type name.
remoteUser | current user |
---|
Set the default template id to be associated with this event type.
templateId | template id |
---|