com.atlassian.jira.permission
Enum ProjectPermissionCategory

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

public enum ProjectPermissionCategory
extends Enum<ProjectPermissionCategory>

Since:
v6.3

Enum Constant Summary
ATTACHMENTS
           
COMMENTS
           
ISSUES
           
OTHER
           
PROJECTS
           
TIME_TRACKING
           
VOTERS_AND_WATCHERS
           
 
Method Summary
static ProjectPermissionCategory valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ProjectPermissionCategory[] 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

PROJECTS

public static final ProjectPermissionCategory PROJECTS

ISSUES

public static final ProjectPermissionCategory ISSUES

VOTERS_AND_WATCHERS

public static final ProjectPermissionCategory VOTERS_AND_WATCHERS

COMMENTS

public static final ProjectPermissionCategory COMMENTS

ATTACHMENTS

public static final ProjectPermissionCategory ATTACHMENTS

TIME_TRACKING

public static final ProjectPermissionCategory TIME_TRACKING

OTHER

public static final ProjectPermissionCategory OTHER
Method Detail

values

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

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

valueOf

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


Copyright © 2002-2014 Atlassian. All Rights Reserved.