org.itracker.model
Enum Notification.Type
java.lang.Object
java.lang.Enum<Notification.Type>
org.itracker.model.Notification.Type
- All Implemented Interfaces:
- Serializable, Comparable<Notification.Type>
- Enclosing class:
- Notification
public static enum Notification.Type
- extends Enum<Notification.Type>
CREATED
public static final Notification.Type CREATED
UPDATED
public static final Notification.Type UPDATED
ASSIGNED
public static final Notification.Type ASSIGNED
CLOSED
public static final Notification.Type CLOSED
SELF_REGISTER
public static final Notification.Type SELF_REGISTER
ISSUE_REMINDER
public static final Notification.Type ISSUE_REMINDER
values
public static Notification.Type[] 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 (Notification.Type c : Notification.Type.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Notification.Type 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 name
NullPointerException - if the argument is null
getCode
public Integer getCode()
Copyright © 2002-2012 itracker. All Rights Reserved.