public enum AccessControl extends Enum<AccessControl>
Property
Enum Constant and Description |
---|
READ_ONLY |
READ_WRITE_ONLY |
UNKNOWN |
WRITE_ONLY |
Modifier and Type | Method and Description |
---|---|
static AccessControl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccessControl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessControl READ_ONLY
public static final AccessControl WRITE_ONLY
public static final AccessControl READ_WRITE_ONLY
public static final AccessControl UNKNOWN
public static AccessControl[] values()
for (AccessControl c : AccessControl.values()) System.out.println(c);
public static AccessControl 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 © 2020. All rights reserved.