Enum GetOnlyOfficeResponse.UserStatus
- java.lang.Object
-
- java.lang.Enum<GetOnlyOfficeResponse.UserStatus>
-
- org.ametys.plugins.workspaces.documents.onlyoffice.GetOnlyOfficeResponse.UserStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<GetOnlyOfficeResponse.UserStatus>
- Enclosing class:
- GetOnlyOfficeResponse
public static enum GetOnlyOfficeResponse.UserStatus extends Enum<GetOnlyOfficeResponse.UserStatus>
Enumeration for user connection status
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONNECTION
User connectionDISCONNECTION
User disconnectionUNKNOWN
Unknown
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GetOnlyOfficeResponse.UserStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static GetOnlyOfficeResponse.UserStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final GetOnlyOfficeResponse.UserStatus UNKNOWN
Unknown
-
CONNECTION
public static final GetOnlyOfficeResponse.UserStatus CONNECTION
User connection
-
DISCONNECTION
public static final GetOnlyOfficeResponse.UserStatus DISCONNECTION
User disconnection
-
-
Method Detail
-
values
public static GetOnlyOfficeResponse.UserStatus[] 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 (GetOnlyOfficeResponse.UserStatus c : GetOnlyOfficeResponse.UserStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GetOnlyOfficeResponse.UserStatus 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
-
-