com.atlassian.jira.security
Enum Permissions.Type

java.lang.Object
  extended by java.lang.Enum<Permissions.Type>
      extended by com.atlassian.jira.security.Permissions.Type
All Implemented Interfaces:
Serializable, Comparable<Permissions.Type>
Enclosing class:
Permissions

@ExperimentalApi
public static enum Permissions.Type
extends Enum<Permissions.Type>

Extremely Experimental API, do not use, it may change without notice...


Enum Constant Summary
ATTATCHMENTS
           
COMMENTS
           
GLOBAL
           
ISSUE
           
PROJECT
           
TIME_TRACKING
           
VOTERS_AND_WATCHERS
           
 
Method Summary
static Permissions.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Permissions.Type[] 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

GLOBAL

public static final Permissions.Type GLOBAL

PROJECT

public static final Permissions.Type PROJECT

ISSUE

public static final Permissions.Type ISSUE

VOTERS_AND_WATCHERS

public static final Permissions.Type VOTERS_AND_WATCHERS

TIME_TRACKING

public static final Permissions.Type TIME_TRACKING

COMMENTS

public static final Permissions.Type COMMENTS

ATTATCHMENTS

public static final Permissions.Type ATTATCHMENTS
Method Detail

values

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

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

valueOf

public static Permissions.Type 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-2012 Atlassian. All Rights Reserved.