pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.service.event
Enum Event.Disposition

java.lang.Object
  extended by java.lang.Enum<Event.Disposition>
      extended by org.torweg.pulse.service.event.Event.Disposition
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Event.Disposition>
Enclosing interface:
Event

public static enum Event.Disposition
extends java.lang.Enum<Event.Disposition>

represents the content disposition.

Version:
$Revision: 1393 $
Author:
Thomas Weber

Enum Constant Summary
ATTACHED
          content disposition: attached.
DEFAULT
          the default content disposition.
 
Method Summary
static Event.Disposition valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Event.Disposition[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DEFAULT

public static final Event.Disposition DEFAULT
the default content disposition.


ATTACHED

public static final Event.Disposition ATTACHED
content disposition: attached.

Method Detail

values

public static final Event.Disposition[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(Event.Disposition c : Event.Disposition.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static Event.Disposition valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name