public enum PermissionMode extends Enum<PermissionMode>
Enum Constant and Description |
---|
ALL
Permission applicable for all operations.
|
READ
Permission applicable for read operations only.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Gets the numerical value of the permission mode.
|
String |
toString() |
static PermissionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PermissionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PermissionMode READ
public static final PermissionMode ALL
public static PermissionMode[] values()
for (PermissionMode c : PermissionMode.values()) System.out.println(c);
public static PermissionMode 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 int getValue()
public String toString()
toString
in class Enum<PermissionMode>
Copyright © 2020 Microsoft Corporation. All rights reserved.