public enum TopicAccessLevel extends Enum<TopicAccessLevel>
Enum Constant and Description |
---|
MANAGER
If set, the current user must be a manager of the topic.
|
READ
If set, the current user must have read access to the topic.
|
SYSTEM
If set, the current user must be the internal system user.
|
WRITE
If set, the current user must have write access to the topic.
|
Modifier and Type | Method and Description |
---|---|
static TopicAccessLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TopicAccessLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TopicAccessLevel READ
public static final TopicAccessLevel WRITE
public static final TopicAccessLevel MANAGER
public static final TopicAccessLevel SYSTEM
public static TopicAccessLevel[] values()
for (TopicAccessLevel c : TopicAccessLevel.values()) System.out.println(c);
public static TopicAccessLevel 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 Communote team. All rights reserved.