public static enum IAuthorizationService.AuthState extends Enum<IAuthorizationService.AuthState>
Enum Constant and Description |
---|
ALLOW
The feature is fully accessible to the calling API
|
DENY
Hide/Deny the Menu Item, non-existent for practical usage
|
DISABLED
User can see it, but cannot act on it / no use (example: link disabled)
|
Modifier and Type | Method and Description |
---|---|
static IAuthorizationService.AuthState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IAuthorizationService.AuthState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IAuthorizationService.AuthState DENY
public static final IAuthorizationService.AuthState DISABLED
public static final IAuthorizationService.AuthState ALLOW
public static IAuthorizationService.AuthState[] values()
for (IAuthorizationService.AuthState c : IAuthorizationService.AuthState.values()) System.out.println(c);
public static IAuthorizationService.AuthState 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 © 2018. All rights reserved.