public static enum Item.PermissionsStrategy extends Enum<Item.PermissionsStrategy>
| Enum Constant and Description |
|---|
MATCH_ALL
All permissions are required
|
MATCH_ANY
At least one of the permissions is required
|
| Modifier and Type | Method and Description |
|---|---|
static Item.PermissionsStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Item.PermissionsStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Item.PermissionsStrategy MATCH_ALL
public static final Item.PermissionsStrategy MATCH_ANY
public static Item.PermissionsStrategy[] values()
for (Item.PermissionsStrategy c : Item.PermissionsStrategy.values()) System.out.println(c);
public static Item.PermissionsStrategy 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 © 2004–2020 Jahia Solutions Group SA. All rights reserved.