com.atlassian.jira.security
Enum Permissions.Type
java.lang.Object
java.lang.Enum<Permissions.Type>
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...
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
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.