org.jboss.soa.esb.listeners
Enum SqlTablePoller.OPTIONAL_ATT

java.lang.Object
  extended by java.lang.Enum<SqlTablePoller.OPTIONAL_ATT>
      extended by org.jboss.soa.esb.listeners.SqlTablePoller.OPTIONAL_ATT
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SqlTablePoller.OPTIONAL_ATT>
Enclosing class:
SqlTablePoller

public static enum SqlTablePoller.OPTIONAL_ATT
extends java.lang.Enum<SqlTablePoller.OPTIONAL_ATT>

Optional fields that can be included in your parameter tree as attributes in the upper Element 1) 4 character long String that indicate status of each row for this poller 1st: Character that indicates "Pending" state = available for processing 2nd: "Working" : some poller is working on the row (or ab-ended while working) 3rd: "Error" : some poller tried to process, and found an error during processing 4th: "Done" : this row has already been processed successfully 2) if you wish to further filter your ResultSet, you can add an optional list of conditions that will be included in the "scan" SQL statement (without "where") 3) Comma separated list of fields to order ResultSet (without "order by")


Enum Constant Summary
inProcessVals
           
orderBy
           
whereCondition
           
 
Method Summary
static SqlTablePoller.OPTIONAL_ATT valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SqlTablePoller.OPTIONAL_ATT[] 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

inProcessVals

public static final SqlTablePoller.OPTIONAL_ATT inProcessVals

whereCondition

public static final SqlTablePoller.OPTIONAL_ATT whereCondition

orderBy

public static final SqlTablePoller.OPTIONAL_ATT orderBy
Method Detail

values

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

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

valueOf

public static SqlTablePoller.OPTIONAL_ATT 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