Enum AttendeeStatus
- java.lang.Object
-
- java.lang.Enum<AttendeeStatus>
-
- org.springframework.social.google.api.calendar.AttendeeStatus
-
- All Implemented Interfaces:
Serializable,Comparable<AttendeeStatus>
public enum AttendeeStatus extends Enum<AttendeeStatus>
Enumeration representing an attendee's response status.- Author:
- Martin Wink
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCEPTED"accepted" - The attendee has accepted the invitation.DECLINED"declined" - The attendee has declined the invitation.NEEDS_ACTION"needsAction" - The attendee has not responded to the invitation.TENTATIVE"tentative" - The attendee has tentatively accepted the invitation.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AttendeeStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static AttendeeStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEEDS_ACTION
public static final AttendeeStatus NEEDS_ACTION
"needsAction" - The attendee has not responded to the invitation.
-
DECLINED
public static final AttendeeStatus DECLINED
"declined" - The attendee has declined the invitation.
-
TENTATIVE
public static final AttendeeStatus TENTATIVE
"tentative" - The attendee has tentatively accepted the invitation.
-
ACCEPTED
public static final AttendeeStatus ACCEPTED
"accepted" - The attendee has accepted the invitation.
-
-
Method Detail
-
values
public static AttendeeStatus[] 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 (AttendeeStatus c : AttendeeStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AttendeeStatus 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
-
-