Serializable
, Comparable<PermissionType>
, IntCodeEnum<PermissionType>
public enum PermissionType extends Enum<PermissionType> implements IntCodeEnum<PermissionType>
Enum Constant | Description |
---|---|
ISSUE_ASSIGN_OTHERS |
Issue Assign to Others Permissions.
|
ISSUE_ASSIGN_SELF |
Issue Assign to Self Permission.
|
ISSUE_ASSIGNABLE |
Issue Assignable.
|
ISSUE_CLOSE |
Issue Close Permission.
|
ISSUE_CREATE |
Issue Create Permission
|
ISSUE_CREATE_OTHERS |
Create for Others.
|
ISSUE_EDIT_ALL |
Issue Edit Permission.
|
ISSUE_EDIT_FULL |
Full edit permission.
|
ISSUE_EDIT_USERS |
Edit Users Issues Permission.
|
ISSUE_UNASSIGN_SELF |
Issue Unassign Self Permission.
|
ISSUE_VIEW_ALL |
View All Issues Permission.
|
ISSUE_VIEW_USERS |
View Users Issues Permission.
|
PRODUCT_ADMIN |
Product Admin Permission
|
USER_ADMIN |
User Admin Permission.
|
DEFAULT_CODE
Modifier and Type | Method | Description |
---|---|---|
PermissionType |
fromCode(Integer code) |
Returns the enum instance matching the integer value.
|
Integer |
getCode() |
Returns the integer value representing this enum member.
|
String |
name(Project project) |
|
static PermissionType[] |
valueOf(int[] type) |
Deprecated.
|
static PermissionType |
valueOf(Integer type) |
Returns the enum constant of this type with the specified name.
|
static PermissionType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static PermissionType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PermissionType USER_ADMIN
public static final PermissionType PRODUCT_ADMIN
public static final PermissionType ISSUE_CREATE
public static final PermissionType ISSUE_EDIT_ALL
public static final PermissionType ISSUE_CLOSE
public static final PermissionType ISSUE_ASSIGN_SELF
public static final PermissionType ISSUE_ASSIGN_OTHERS
public static final PermissionType ISSUE_VIEW_ALL
public static final PermissionType ISSUE_VIEW_USERS
public static final PermissionType ISSUE_EDIT_USERS
public static final PermissionType ISSUE_UNASSIGN_SELF
public static final PermissionType ISSUE_ASSIGNABLE
public static final PermissionType ISSUE_CREATE_OTHERS
public static final PermissionType ISSUE_EDIT_FULL
public static PermissionType[] values()
for (PermissionType c : PermissionType.values()) System.out.println(c);
public static PermissionType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Integer getCode()
getCode
in interface IntCodeEnum<PermissionType>
public static PermissionType valueOf(Integer type)
type
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null@Deprecated public static PermissionType[] valueOf(int[] type)
type
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic PermissionType fromCode(Integer code)
fromCode
in interface IntCodeEnum<PermissionType>
code
- unique value of the enum instance to returnCopyright © 2002–2019 itracker. All rights reserved.