Enum ResolveNameSearchLocation
- java.lang.Object
-
- java.lang.Enum<ResolveNameSearchLocation>
-
- microsoft.exchange.webservices.data.core.enumeration.search.ResolveNameSearchLocation
-
- All Implemented Interfaces:
Serializable,Comparable<ResolveNameSearchLocation>
public enum ResolveNameSearchLocation extends Enum<ResolveNameSearchLocation>
Defines the location where a ResolveName operation searches for contacts.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ContactsOnlyThe Contacts only.ContactsThenDirectoryThe Contacts then directory.DirectoryOnlyThe Directory only.DirectoryThenContactsThe Directory then contacts.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResolveNameSearchLocationvalueOf(String name)Returns the enum constant of this type with the specified name.static ResolveNameSearchLocation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DirectoryOnly
public static final ResolveNameSearchLocation DirectoryOnly
The Directory only.
-
DirectoryThenContacts
public static final ResolveNameSearchLocation DirectoryThenContacts
The Directory then contacts.
-
ContactsOnly
public static final ResolveNameSearchLocation ContactsOnly
The Contacts only.
-
ContactsThenDirectory
public static final ResolveNameSearchLocation ContactsThenDirectory
The Contacts then directory.
-
-
Method Detail
-
values
public static ResolveNameSearchLocation[] 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 (ResolveNameSearchLocation c : ResolveNameSearchLocation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResolveNameSearchLocation 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
-
-