com.atlassian.jira.functest.framework.admin
Enum NotificationType

java.lang.Object
  extended by java.lang.Enum<NotificationType>
      extended by com.atlassian.jira.functest.framework.admin.NotificationType
All Implemented Interfaces:
Serializable, Comparable<NotificationType>

public enum NotificationType
extends Enum<NotificationType>

Represents notification type in the 'Edit notifications' admin section.

Since:
4.4

Enum Constant Summary
ALL_WATCHERS
           
COMPONENT_LEAD
           
CURRENT_ASSIGNEE
           
CURRENT_USER
           
GROUP
           
GROUP_CUSTOM_FIELD_VALUE
           
PROJECT_LEAD
           
PROJECT_ROLE
           
REPORTER
           
SINGLE_EMAIL_ADDRESS
           
SINGLE_USER
           
USER_CUSTOM_FIELD_VALUE
           
 
Method Summary
 String uiCode()
           
static NotificationType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static NotificationType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CURRENT_ASSIGNEE

public static final NotificationType CURRENT_ASSIGNEE

REPORTER

public static final NotificationType REPORTER

CURRENT_USER

public static final NotificationType CURRENT_USER

PROJECT_LEAD

public static final NotificationType PROJECT_LEAD

COMPONENT_LEAD

public static final NotificationType COMPONENT_LEAD

SINGLE_USER

public static final NotificationType SINGLE_USER

GROUP

public static final NotificationType GROUP

PROJECT_ROLE

public static final NotificationType PROJECT_ROLE

SINGLE_EMAIL_ADDRESS

public static final NotificationType SINGLE_EMAIL_ADDRESS

ALL_WATCHERS

public static final NotificationType ALL_WATCHERS

USER_CUSTOM_FIELD_VALUE

public static final NotificationType USER_CUSTOM_FIELD_VALUE

GROUP_CUSTOM_FIELD_VALUE

public static final NotificationType GROUP_CUSTOM_FIELD_VALUE
Method Detail

values

public static NotificationType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (NotificationType c : NotificationType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static NotificationType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

uiCode

public String uiCode()


Copyright © 2002-2012 Atlassian. All Rights Reserved.