public enum ParticipantType extends Enum<ParticipantType>
Enum Constant and Description |
---|
ADMIN |
ASSIGNED_GROUP |
ASSIGNEE |
BOT |
CANDIDATE_GROUP |
CANDIDATE_USER |
MYSELF |
NONE |
OWNER |
PARTICIPANT |
Modifier and Type | Method and Description |
---|---|
String |
getKey() |
static ParticipantType |
parseFromKey(String key) |
static ParticipantType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParticipantType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParticipantType OWNER
public static final ParticipantType ASSIGNEE
public static final ParticipantType PARTICIPANT
public static final ParticipantType ASSIGNED_GROUP
public static final ParticipantType CANDIDATE_USER
public static final ParticipantType CANDIDATE_GROUP
public static final ParticipantType MYSELF
public static final ParticipantType BOT
public static final ParticipantType ADMIN
public static final ParticipantType NONE
public static ParticipantType[] values()
for (ParticipantType c : ParticipantType.values()) System.out.println(c);
public static ParticipantType 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 getKey()
public static ParticipantType parseFromKey(String key)
Copyright © 2019. All rights reserved.