public enum AccessPolicy extends Enum<AccessPolicy>
| Enum Constant and Description |
|---|
EMBARGOED |
OPEN |
RESTRICTED |
| Modifier and Type | Method and Description |
|---|---|
static AccessPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccessPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessPolicy OPEN
public static final AccessPolicy RESTRICTED
public static final AccessPolicy EMBARGOED
public static AccessPolicy[] values()
for (AccessPolicy c : AccessPolicy.values()) System.out.println(c);
public static AccessPolicy 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 © 2021. All Rights Reserved.