Enum MessagingConnector.ResponseType
- java.lang.Object
-
- java.lang.Enum<MessagingConnector.ResponseType>
-
- org.ametys.plugins.messagingconnector.MessagingConnector.ResponseType
-
- All Implemented Interfaces:
Serializable
,Comparable<MessagingConnector.ResponseType>
- Enclosing interface:
- MessagingConnector
public static enum MessagingConnector.ResponseType extends Enum<MessagingConnector.ResponseType>
Enum for answer status
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ResponseType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MessagingConnector.ResponseType
valueOf(String name)
Returns the enum constant of this type with the specified name.static MessagingConnector.ResponseType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Accept
public static final MessagingConnector.ResponseType Accept
The attendee accepts the invitation
-
Decline
public static final MessagingConnector.ResponseType Decline
The attendee declines the invitation
-
Maybe
public static final MessagingConnector.ResponseType Maybe
The attendee says maybe to the event
-
Unknown
public static final MessagingConnector.ResponseType Unknown
We don't know the answer of the attendee
-
-
Constructor Detail
-
ResponseType
private ResponseType()
-
-
Method Detail
-
values
public static MessagingConnector.ResponseType[] 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.ResponseType c : MessagingConnector.ResponseType.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.ResponseType 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
-
-