public enum PermissionAllowed extends Enum<PermissionAllowed>
Enum Constant and Description |
---|
ALLOWED
normal assignment if allowed
|
DISALLOWED
disallow underneath an inherited allow to limit the scope of the allow
|
Modifier and Type | Method and Description |
---|---|
static PermissionAllowed |
fromDisallowedBoolean(boolean disallowed)
convert from disallowed boolean to the enum
|
abstract boolean |
isDisallowed()
if disallowed
|
static PermissionAllowed |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PermissionAllowed[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PermissionAllowed ALLOWED
public static final PermissionAllowed DISALLOWED
public static PermissionAllowed[] values()
for (PermissionAllowed c : PermissionAllowed.values()) System.out.println(c);
public static PermissionAllowed 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 abstract boolean isDisallowed()
public static PermissionAllowed fromDisallowedBoolean(boolean disallowed)
disallowed
- Copyright © 2016 Internet2. All rights reserved.