com.atlassian.jira.auditing
Enum AuditingCategory

java.lang.Object
  extended by java.lang.Enum<AuditingCategory>
      extended by com.atlassian.jira.auditing.AuditingCategory
All Implemented Interfaces:
Serializable, Comparable<AuditingCategory>

public enum AuditingCategory
extends Enum<AuditingCategory>

Possible values for auditing category.

Since:
v6.2

Enum Constant Summary
AUDITING
           
FIELDS
           
GROUP_MANAGEMENT
           
NOTIFICATIONS
           
PERMISSIONS
           
USER_MANAGEMENT
           
WORKFLOWS
           
 
Method Summary
static AuditingCategory getCategoryById(String categoryId)
           
 String getId()
           
 String getNameI18nKey()
           
static AuditingCategory valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AuditingCategory[] 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

AUDITING

public static final AuditingCategory AUDITING

USER_MANAGEMENT

public static final AuditingCategory USER_MANAGEMENT

GROUP_MANAGEMENT

public static final AuditingCategory GROUP_MANAGEMENT

PERMISSIONS

public static final AuditingCategory PERMISSIONS

WORKFLOWS

public static final AuditingCategory WORKFLOWS

NOTIFICATIONS

public static final AuditingCategory NOTIFICATIONS

FIELDS

public static final AuditingCategory FIELDS
Method Detail

values

public static AuditingCategory[] 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 (AuditingCategory c : AuditingCategory.values())
    System.out.println(c);

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

valueOf

public static AuditingCategory 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

getId

public String getId()

getNameI18nKey

public String getNameI18nKey()

getCategoryById

@Nullable
public static AuditingCategory getCategoryById(String categoryId)


Copyright © 2002-2014 Atlassian. All Rights Reserved.