public enum XacmlResourceScope extends Enum<XacmlResourceScope>
Enum Constant and Description |
---|
CHILDREN
Resource scope of Children (the given resource and its direct children)
|
DESCENDANTS
Resource scope of Descendants (the given resource and all descendants at any depth or distance)
|
IMMEDIATE
Resource scope of Immediate (only the given resource)
|
Modifier and Type | Method and Description |
---|---|
static XacmlResourceScope |
fromValue(String scopeId)
Get resource scope constant from value
|
String |
value()
Get standard name (string), e.g.
|
static XacmlResourceScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XacmlResourceScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XacmlResourceScope IMMEDIATE
public static final XacmlResourceScope CHILDREN
public static final XacmlResourceScope DESCENDANTS
public static XacmlResourceScope[] values()
for (XacmlResourceScope c : XacmlResourceScope.values()) System.out.println(c);
public static XacmlResourceScope 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 String value()
IMMEDIATE
public static XacmlResourceScope fromValue(String scopeId)
scopeId
- resource scope identifierCopyright © 2012–2020. All rights reserved.