public enum WhoCanView extends Enum<WhoCanView>
Enum Constant and Description |
---|
ANYONE_WITH_RECEIPIENTS_DOMAIN
Anyone with recipients domain
|
EVERYONE
Every authenticated user
|
RECEIPIENTS_ONLY
Recipients only
|
Modifier and Type | Method and Description |
---|---|
static WhoCanView |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WhoCanView[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WhoCanView RECEIPIENTS_ONLY
public static final WhoCanView ANYONE_WITH_RECEIPIENTS_DOMAIN
public static final WhoCanView EVERYONE
public static WhoCanView[] values()
for (WhoCanView c : WhoCanView.values()) System.out.println(c);
public static WhoCanView 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 © 2019. All rights reserved.