public enum PermissionOperation extends Enum<PermissionOperation>
Enum Constant and Description |
---|
add |
remove |
reset |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static PermissionOperation |
fromValue(String format) |
static PermissionOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PermissionOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PermissionOperation add
public static final PermissionOperation remove
public static final PermissionOperation reset
public static final PermissionOperation UNRECOGNIZED
public static PermissionOperation[] values()
for (PermissionOperation c : PermissionOperation.values()) System.out.println(c);
public static PermissionOperation 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 static PermissionOperation fromValue(String format)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.