org.itracker.model
Enum Notification.Type

java.lang.Object
  extended by java.lang.Enum<Notification.Type>
      extended by org.itracker.model.Notification.Type
All Implemented Interfaces:
Serializable, Comparable<Notification.Type>
Enclosing class:
Notification

public static enum Notification.Type
extends Enum<Notification.Type>


Enum Constant Summary
ASSIGNED
           
CLOSED
           
CREATED
           
ISSUE_REMINDER
           
SELF_REGISTER
           
UPDATED
           
 
Method Summary
 Integer getCode()
           
static Notification.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Notification.Type[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.