public enum ContactSource extends Enum<ContactSource>
| Enum Constant and Description |
|---|
API |
KEYWORD |
MANUALLY_ADDED |
UNKNOWN |
UPLOAD |
WEB_WIDGET |
| Modifier and Type | Method and Description |
|---|---|
static ContactSource |
fromDescription(String desc) |
String |
getDescription() |
static ContactSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContactSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContactSource UNKNOWN
public static final ContactSource MANUALLY_ADDED
public static final ContactSource UPLOAD
public static final ContactSource WEB_WIDGET
public static final ContactSource API
public static final ContactSource KEYWORD
public static ContactSource[] values()
for (ContactSource c : ContactSource.values()) System.out.println(c);
public static ContactSource valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getDescription()
public static ContactSource fromDescription(String desc)
Copyright © 2015. All Rights Reserved.