@PublicApi public final enum

NotificationType

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.atlassian.jira.notification.type.NotificationType

@PublicApi

This enum is designed for plugins to consume (call its methods).

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).

Note: since @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).

Class Overview

A simple enumeration of the different JIRA notification types

Summary

Enum Values
NotificationType  ALL_WATCHERS   
NotificationType  COMPONENT_LEAD   
NotificationType  CURRENT_ASSIGNEE   
NotificationType  CURRENT_USER   
NotificationType  GROUP   
NotificationType  GROUP_CUSTOM_FIELD_VALUE   
NotificationType  PROJECT_LEAD   
NotificationType  PROJECT_ROLE   
NotificationType  REPORTER   
NotificationType  SINGLE_EMAIL_ADDRESS   
NotificationType  SINGLE_USER   
NotificationType  USER_CUSTOM_FIELD_VALUE   
Public Methods
String dbCode()
static NotificationType from(String dbCode)
Returns a NotificationType from the database code that JIRA uses internally.
static NotificationType valueOf(String name)
final static NotificationType[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final NotificationType ALL_WATCHERS

public static final NotificationType COMPONENT_LEAD

public static final NotificationType CURRENT_ASSIGNEE

public static final NotificationType CURRENT_USER

public static final NotificationType GROUP

public static final NotificationType GROUP_CUSTOM_FIELD_VALUE

public static final NotificationType PROJECT_LEAD

public static final NotificationType PROJECT_ROLE

public static final NotificationType REPORTER

public static final NotificationType SINGLE_EMAIL_ADDRESS

public static final NotificationType SINGLE_USER

public static final NotificationType USER_CUSTOM_FIELD_VALUE

Public Methods

public String dbCode ()

public static NotificationType from (String dbCode)

Returns a NotificationType from the database code that JIRA uses internally.

Parameters
dbCode a magic string stored in the database tables
Returns
  • a notification type
Throws
IllegalArgumentException if you give an invalid string

public static NotificationType valueOf (String name)

public static final NotificationType[] values ()