Enum TaskDelegationState
- java.lang.Object
-
- java.lang.Enum<TaskDelegationState>
-
- microsoft.exchange.webservices.data.core.enumeration.property.TaskDelegationState
-
- All Implemented Interfaces:
Serializable,Comparable<TaskDelegationState>
public enum TaskDelegationState extends Enum<TaskDelegationState>
Defines the delegation state of a task.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AcceptedThe Accepted.DeclinedThe Declined.NoDelegationThe No delegation.UnknownThe Unknown.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TaskDelegationStatevalueOf(String name)Returns the enum constant of this type with the specified name.static TaskDelegationState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NoDelegation
public static final TaskDelegationState NoDelegation
The No delegation.
-
Unknown
public static final TaskDelegationState Unknown
The Unknown.
-
Accepted
public static final TaskDelegationState Accepted
The Accepted.
-
Declined
public static final TaskDelegationState Declined
The Declined.
-
-
Method Detail
-
values
public static TaskDelegationState[] 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 (TaskDelegationState c : TaskDelegationState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TaskDelegationState 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
-
-