com.atlassian.jira.event.type.EventTypeManager |
Known Indirect Subclasses |
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).
Manages event types within the system.
Used to add, edit, delete and retrieve event types.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return a mapping of notification scheme ID to its name for each notification scheme that is associated
with the specified
eventType
The event type is associated with a notification scheme if the scheme has at least one notification type and template selected for that event type. | |||||||||||
Determines which workflows and transitions are associated with the specified eventType.
| |||||||||||
Returns the event type with the specified
id | |||||||||||
Returns an immutable collection of all known event types.
| |||||||||||
Returns an immutable map of all known event type IDs to the corresponding event types.
| |||||||||||
Determine if the specified
eventType is associated with any workflow or notification scheme. | |||||||||||
Return a mapping of notification scheme ID to its name for each notification scheme that is associated
with the specified eventType
The event type is associated with a notification scheme if the scheme has at least one notification type and template selected for that event type.
eventType | event type |
---|
Determines which workflows and transitions are associated with the specified eventType.
The event type can be associated with a workflow through a post function on any of the workflow transitions.
eventType | event type |
---|---|
statusCheck | option to break on first association discovered - used when checking if event type is active |
WorkflowTransitionKey
s to transitions
Returns the event type with the specified id
id | The ID of the desired event type |
---|
id
IllegalArgumentException | if the specified event type does not exist |
---|
Returns an immutable collection of all known event types.
This convenience method is exactly equivalent to
getEventTypesMap()
.values()
.
Returns an immutable map of all known event type IDs to the corresponding event types.
Determine if the specified eventType
is associated with any workflow or notification scheme.
eventType | event type |
---|
true
if eventType
is associated with any workflow or notification
scheme; false
otherwise.