Kie :: Camel 6.1.0.Beta4

org.kie.camel.component
Enum KieEndpoint.Action

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

public static enum KieEndpoint.Action
extends Enum<KieEndpoint.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 KieEndpoint.Action resolveAction(String id)
           
static KieEndpoint.Action valueOf(String name)
          Returns the enum constant of this type with the specified name.
static KieEndpoint.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 KieEndpoint.Action EXECUTE

INSERT_BODY

public static final KieEndpoint.Action INSERT_BODY

INSERT_MESSAGE

public static final KieEndpoint.Action INSERT_MESSAGE

INSERT_EXCHANGE

public static final KieEndpoint.Action INSERT_EXCHANGE
Method Detail

values

public static KieEndpoint.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 (KieEndpoint.Action c : KieEndpoint.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 KieEndpoint.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 KieEndpoint.Action resolveAction(String id)

Kie :: Camel 6.1.0.Beta4

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