public enum AccessLevel extends Enum<AccessLevel>
| Enum Constant and Description |
|---|
EVERYONE
Everyone can post to this list.
|
MEMBERS
Subscribed members of the list can communicate with each other.
|
READ_ONLY
Only authenticated users can post to this list.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
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 READ_ONLY
Only authenticated users can post to this list. It is used for mass announcements and newsletters.
This is the default access level.
public static final AccessLevel MEMBERS
Subscribed members of the list can communicate with each other.
public static final AccessLevel EVERYONE
Everyone can post to this list. Recommended turning spam filtering on when using this mode.
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 String getValue()
Copyright © 2022. All rights reserved.