Package io.manebot.platform
Enum PlatformUser.Status
- java.lang.Object
-
- java.lang.Enum<PlatformUser.Status>
-
- io.manebot.platform.PlatformUser.Status
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PlatformUser.Status>
,java.lang.constant.Constable
- Enclosing interface:
- PlatformUser
public static enum PlatformUser.Status extends java.lang.Enum<PlatformUser.Status>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AWAY
DO_NOT_DISTURB
OFFLINE
ONLINE
UNKNOWN
-
Method Summary
Modifier and Type Method Description static PlatformUser.Status
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PlatformUser.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ONLINE
public static final PlatformUser.Status ONLINE
-
OFFLINE
public static final PlatformUser.Status OFFLINE
-
AWAY
public static final PlatformUser.Status AWAY
-
DO_NOT_DISTURB
public static final PlatformUser.Status DO_NOT_DISTURB
-
UNKNOWN
public static final PlatformUser.Status UNKNOWN
-
-
Method Detail
-
values
public static PlatformUser.Status[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PlatformUser.Status valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-