Drools :: Camel integration Legacy5 6.0.0.CR1

org.drools.camel.component
Enum DroolsEndpoint.Action

java.lang.Object
  extended by java.lang.Enum<DroolsEndpoint.Action>
      extended by org.drools.camel.component.DroolsEndpoint.Action
All Implemented Interfaces:
Serializable, Comparable<DroolsEndpoint.Action>
Enclosing class:
DroolsEndpoint

public static enum DroolsEndpoint.Action
extends Enum<DroolsEndpoint.Action>

An ENUM to define which action should be executed by the producer into this end point


Enum Constant Summary
EXECUTE
           
INSERT_BODY
           
INSERT_EXCHANGE
           
INSERT_MESSAGE
           
 
Method Summary
 String getId()
           
static DroolsEndpoint.Action resolveAction(String id)
           
static DroolsEndpoint.Action valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DroolsEndpoint.Action[] 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

EXECUTE

public static final DroolsEndpoint.Action EXECUTE

INSERT_BODY

public static final DroolsEndpoint.Action INSERT_BODY

INSERT_MESSAGE

public static final DroolsEndpoint.Action INSERT_MESSAGE

INSERT_EXCHANGE

public static final DroolsEndpoint.Action INSERT_EXCHANGE
Method Detail

values

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

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

valueOf

public static DroolsEndpoint.Action 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

getId

public String getId()

resolveAction

public static DroolsEndpoint.Action resolveAction(String id)

Drools :: Camel integration Legacy5 6.0.0.CR1

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.