public static enum ProductPermission.PermissionType extends Enum<ProductPermission.PermissionType>
| Enum Constant and Description |
|---|
ADMIN
Administration permission
|
USE
Use permission
|
| Modifier and Type | Method and Description |
|---|---|
static ProductPermission.PermissionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProductPermission.PermissionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProductPermission.PermissionType ADMIN
This permission cannot be granted by default on user creation. It allows the user to administer the product
public static final ProductPermission.PermissionType USE
This permission can be granted by default on user creation. It allows the user to use the product
public static ProductPermission.PermissionType[] values()
for (ProductPermission.PermissionType c : ProductPermission.PermissionType.values()) System.out.println(c);
public static ProductPermission.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 nullCopyright © 2016 Atlassian. All Rights Reserved.