Enum MailChimpResult
- java.lang.Object
-
- java.lang.Enum<MailChimpResult>
-
- org.apache.unomi.mailchimp.services.MailChimpResult
-
- All Implemented Interfaces:
Serializable
,Comparable<MailChimpResult>
public enum MailChimpResult extends Enum<MailChimpResult>
This enum is use to get the result of the interaction with MailChimp
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MailChimpResult
valueOf(String name)
Returns the enum constant of this type with the specified name.static MailChimpResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UPDATED
public static final MailChimpResult UPDATED
-
REMOVED
public static final MailChimpResult REMOVED
-
ERROR
public static final MailChimpResult ERROR
-
SUCCESS
public static final MailChimpResult SUCCESS
-
NO_CHANGE
public static final MailChimpResult NO_CHANGE
-
-
Method Detail
-
values
public static MailChimpResult[] 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 (MailChimpResult c : MailChimpResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MailChimpResult 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
-
-