Module net.bis5.mattermost4j.core
Enum UsersOrder.InChannel
- java.lang.Object
-
- java.lang.Enum<UsersOrder.InChannel>
-
- net.bis5.mattermost.client4.model.UsersOrder.InChannel
-
- All Implemented Interfaces:
Serializable,Comparable<UsersOrder.InChannel>
- Enclosing class:
- UsersOrder
public static enum UsersOrder.InChannel extends Enum<UsersOrder.InChannel>
Order in channel.- Since:
- Mattermost Server 4.7
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSort()static UsersOrder.InChannelvalueOf(String name)Returns the enum constant of this type with the specified name.static UsersOrder.InChannel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final UsersOrder.InChannel NONE
sort by username.
-
STATUS
public static final UsersOrder.InChannel STATUS
sort by status (online, away, dnd, offline).
-
-
Method Detail
-
values
public static UsersOrder.InChannel[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (UsersOrder.InChannel c : UsersOrder.InChannel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UsersOrder.InChannel valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getSort
public String getSort()
-
-