Package com.tetsuwantech.atom.util
Enum MailSender.Message
- java.lang.Object
-
- java.lang.Enum<MailSender.Message>
-
- com.tetsuwantech.atom.util.MailSender.Message
-
- All Implemented Interfaces:
Serializable
,Comparable<MailSender.Message>
- Enclosing class:
- MailSender
public static enum MailSender.Message extends Enum<MailSender.Message>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATE_ACCOUNT
DEACTIVATE_ACCOUNT
FORGOT_PASSWORD
PAYMENT_FAILED
WELCOME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPath()
String
getSubject()
static MailSender.Message
valueOf(String name)
Returns the enum constant of this type with the specified name.static MailSender.Message[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WELCOME
public static final MailSender.Message WELCOME
-
FORGOT_PASSWORD
public static final MailSender.Message FORGOT_PASSWORD
-
CREATE_ACCOUNT
public static final MailSender.Message CREATE_ACCOUNT
-
PAYMENT_FAILED
public static final MailSender.Message PAYMENT_FAILED
-
DEACTIVATE_ACCOUNT
public static final MailSender.Message DEACTIVATE_ACCOUNT
-
-
Method Detail
-
values
public static MailSender.Message[] 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 (MailSender.Message c : MailSender.Message.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MailSender.Message 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
-
getPath
public String getPath()
- Returns:
- the path
-
getSubject
public String getSubject()
- Returns:
- the subject
-
-