Package com.podio.contact
Enum ContactOrder
- java.lang.Object
-
- java.lang.Enum<ContactOrder>
-
- com.podio.contact.ContactOrder
-
- All Implemented Interfaces:
Serializable,Comparable<ContactOrder>
public enum ContactOrder extends Enum<ContactOrder>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALERTHow often the active user have alerted the contact in a status or comment.MESSAGE_INHow often the active user receives messages from the contactMESSAGE_OUTHow often the active user sends messages to the contactREFERENCEHow often the active user sets the contact as the reference on an item field.TASKHow often the active user assigns tasks to the contact
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ContactOrdervalueOf(String name)Returns the enum constant of this type with the specified name.static ContactOrder[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TASK
public static final ContactOrder TASK
How often the active user assigns tasks to the contact
-
MESSAGE_IN
public static final ContactOrder MESSAGE_IN
How often the active user receives messages from the contact
-
MESSAGE_OUT
public static final ContactOrder MESSAGE_OUT
How often the active user sends messages to the contact
-
REFERENCE
public static final ContactOrder REFERENCE
How often the active user sets the contact as the reference on an item field.
-
ALERT
public static final ContactOrder ALERT
How often the active user have alerted the contact in a status or comment.
-
-
Method Detail
-
values
public static ContactOrder[] 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 (ContactOrder c : ContactOrder.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ContactOrder 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
-
-