public enum HighPrivilegeThreadPermissionVerifier extends Enum<HighPrivilegeThreadPermissionVerifier> implements ThreadPermissionVerifier
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
checkPermission(Permission perm) |
void |
checkPermission(Permission perm,
Object context) |
static HighPrivilegeThreadPermissionVerifier |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HighPrivilegeThreadPermissionVerifier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HighPrivilegeThreadPermissionVerifier INSTANCE
public static HighPrivilegeThreadPermissionVerifier[] values()
for (HighPrivilegeThreadPermissionVerifier c : HighPrivilegeThreadPermissionVerifier.values()) System.out.println(c);
public static HighPrivilegeThreadPermissionVerifier 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 void checkPermission(Permission perm)
checkPermission in interface ThreadPermissionVerifierpublic void checkPermission(Permission perm, Object context)
checkPermission in interface ThreadPermissionVerifierCopyright © 2024 Atlassian Software Systems Pty Ltd. All rights reserved.