Enum TaskMode
- java.lang.Object
-
- java.lang.Enum<TaskMode>
-
- microsoft.exchange.webservices.data.core.enumeration.service.TaskMode
-
- All Implemented Interfaces:
Serializable,Comparable<TaskMode>
public enum TaskMode extends Enum<TaskMode>
Defines the modes of a Task.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NormalThe Normal.RequestThe Request.RequestAcceptedThe Request accepted.RequestDeclinedThe Request declined.SelfDelegatedThe Self delegated.UpdateThe Update.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TaskModevalueOf(String name)Returns the enum constant of this type with the specified name.static TaskMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RequestAccepted
public static final TaskMode RequestAccepted
The Request accepted.
-
RequestDeclined
public static final TaskMode RequestDeclined
The Request declined.
-
SelfDelegated
public static final TaskMode SelfDelegated
The Self delegated.
-
-
Method Detail
-
values
public static TaskMode[] 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 (TaskMode c : TaskMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TaskMode 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
-
-