public static enum Acl.InheritanceType extends Enum<Acl.InheritanceType>
Enum Constant and Description |
---|
AND_BOTH_PERMIT
The user is denied, unless both this ACL and the child's authz result is
permit.
|
CHILD_OVERRIDES
The child's authz result is used, unless it is indeterminate, in which
case this ACL's authz result is used.
|
LEAF_NODE
The ACL should never have a child and thus the inheritance type is
unnecessary.
|
PARENT_OVERRIDES
This ACL's authz result is used, unless it is indeterminate, in which
case the child's authz result is used.
|
Modifier and Type | Method and Description |
---|---|
static Acl.InheritanceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Acl.InheritanceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Acl.InheritanceType CHILD_OVERRIDES
public static final Acl.InheritanceType PARENT_OVERRIDES
public static final Acl.InheritanceType AND_BOTH_PERMIT
public static final Acl.InheritanceType LEAF_NODE
public static Acl.InheritanceType[] values()
for (Acl.InheritanceType c : Acl.InheritanceType.values()) System.out.println(c);
public static Acl.InheritanceType 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 null