Enum MessagingConnector.FreeBusyStatus
- java.lang.Object
-
- java.lang.Enum<MessagingConnector.FreeBusyStatus>
-
- org.ametys.plugins.messagingconnector.MessagingConnector.FreeBusyStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<MessagingConnector.FreeBusyStatus>
- Enclosing interface:
- MessagingConnector
public static enum MessagingConnector.FreeBusyStatus extends Enum<MessagingConnector.FreeBusyStatus>
Enum for free/busy status
-
-
Constructor Summary
Constructors Modifier Constructor Description private
FreeBusyStatus()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MessagingConnector.FreeBusyStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static MessagingConnector.FreeBusyStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Busy
public static final MessagingConnector.FreeBusyStatus Busy
The attendee is busy
-
Free
public static final MessagingConnector.FreeBusyStatus Free
The attendee is free
-
Unknown
public static final MessagingConnector.FreeBusyStatus Unknown
We don't know if the attendee is busy or free
-
-
Constructor Detail
-
FreeBusyStatus
private FreeBusyStatus()
-
-
Method Detail
-
values
public static MessagingConnector.FreeBusyStatus[] 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 (MessagingConnector.FreeBusyStatus c : MessagingConnector.FreeBusyStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MessagingConnector.FreeBusyStatus 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
-
-