public enum AccessLevel extends Enum<AccessLevel>
| Enum Constant and Description |
|---|
NONE
Enum value None.
|
READ
Enum value Read.
|
| Modifier and Type | Method and Description |
|---|---|
static AccessLevel |
fromString(String value)
Parses a serialized value to a AccessLevel instance.
|
String |
toString() |
static AccessLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccessLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessLevel NONE
public static final AccessLevel READ
public static AccessLevel[] values()
for (AccessLevel c : AccessLevel.values()) System.out.println(c);
public static AccessLevel 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 AccessLevel fromString(String value)
value - the serialized value to parse.public String toString()
toString in class Enum<AccessLevel>/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/