public enum RoomType extends Enum<RoomType>
rooms.| Enum Constant and Description |
|---|
ORGANISATION
A GitHub organisation.
|
ORGANISATION_CHANNEL
A Gitter channel for an organisation.
|
REPOSITORY
A GitHub repository.
|
REPOSITORY_CHANNEL
A Gitter channel for a repository.
|
UNKNOWN
An unknown room type: used as a fallback
|
USER
A GitHub user.
|
USER_CHANNEL
A Gitter channel for a user.
|
| Modifier and Type | Method and Description |
|---|---|
static RoomType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RoomType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoomType USER
public static final RoomType REPOSITORY
public static final RoomType ORGANISATION
public static final RoomType USER_CHANNEL
public static final RoomType REPOSITORY_CHANNEL
public static final RoomType ORGANISATION_CHANNEL
public static final RoomType UNKNOWN
public static RoomType[] values()
for (RoomType c : RoomType.values()) System.out.println(c);
public static RoomType 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 © 2016. All rights reserved.