Package org.duracloud.account.db.model
Enum EmailTemplate.Templates
- java.lang.Object
-
- java.lang.Enum<EmailTemplate.Templates>
-
- org.duracloud.account.db.model.EmailTemplate.Templates
-
- All Implemented Interfaces:
Serializable,Comparable<EmailTemplate.Templates>
- Enclosing class:
- EmailTemplate
public static enum EmailTemplate.Templates extends Enum<EmailTemplate.Templates>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INVITATION_REDEEMEDPASSWORD_RESETUSER_ADDED_TO_ACCOUNTUSER_CREATEDUSER_INVITATION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetTemplateName()static EmailTemplate.TemplatesvalueOf(String name)Returns the enum constant of this type with the specified name.static EmailTemplate.Templates[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
USER_CREATED
public static final EmailTemplate.Templates USER_CREATED
-
PASSWORD_RESET
public static final EmailTemplate.Templates PASSWORD_RESET
-
USER_INVITATION
public static final EmailTemplate.Templates USER_INVITATION
-
INVITATION_REDEEMED
public static final EmailTemplate.Templates INVITATION_REDEEMED
-
USER_ADDED_TO_ACCOUNT
public static final EmailTemplate.Templates USER_ADDED_TO_ACCOUNT
-
-
Method Detail
-
values
public static EmailTemplate.Templates[] 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 (EmailTemplate.Templates c : EmailTemplate.Templates.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EmailTemplate.Templates 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
-
getTemplateName
public String getTemplateName()
-
-