org.jumpmind.symmetric.model
Enum DataEventAction

java.lang.Object
  extended by java.lang.Enum<DataEventAction>
      extended by org.jumpmind.symmetric.model.DataEventAction
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DataEventAction>, ICoded

public enum DataEventAction
extends java.lang.Enum<DataEventAction>
implements ICoded

Identifies the action to take when the event watcher sees events in the event table.


Enum Constant Summary
PUSH
           
WAIT_FOR_POLL
           
 
Method Summary
static DataEventAction fromCode(java.lang.String code)
           
 java.lang.String getCode()
           
static DataEventAction valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DataEventAction[] 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

PUSH

public static final DataEventAction PUSH

WAIT_FOR_POLL

public static final DataEventAction WAIT_FOR_POLL
Method Detail

values

public static final DataEventAction[] 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(DataEventAction c : DataEventAction.values())
        System.out.println(c);

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

valueOf

public static DataEventAction 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

getCode

public java.lang.String getCode()
Specified by:
getCode in interface ICoded

fromCode

public static DataEventAction fromCode(java.lang.String code)


Copyright © 2007-2008. All Rights Reserved.