Package org.kie.camel.embedded.component
Enum KieEmbeddedEndpoint.Action
- java.lang.Object
-
- java.lang.Enum<KieEmbeddedEndpoint.Action>
-
- org.kie.camel.embedded.component.KieEmbeddedEndpoint.Action
-
- All Implemented Interfaces:
Serializable,Comparable<KieEmbeddedEndpoint.Action>
- Enclosing class:
- KieEmbeddedEndpoint
public static enum KieEmbeddedEndpoint.Action extends Enum<KieEmbeddedEndpoint.Action>
An ENUM to define which action should be executed by the producer into this end point
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXECUTEINSERT_BODYINSERT_EXCHANGEINSERT_MESSAGE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()static KieEmbeddedEndpoint.ActionresolveAction(String id)static KieEmbeddedEndpoint.ActionvalueOf(String name)Returns the enum constant of this type with the specified name.static KieEmbeddedEndpoint.Action[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXECUTE
public static final KieEmbeddedEndpoint.Action EXECUTE
-
INSERT_BODY
public static final KieEmbeddedEndpoint.Action INSERT_BODY
-
INSERT_MESSAGE
public static final KieEmbeddedEndpoint.Action INSERT_MESSAGE
-
INSERT_EXCHANGE
public static final KieEmbeddedEndpoint.Action INSERT_EXCHANGE
-
-
Method Detail
-
values
public static KieEmbeddedEndpoint.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 (KieEmbeddedEndpoint.Action c : KieEmbeddedEndpoint.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 KieEmbeddedEndpoint.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 nameNullPointerException- if the argument is null
-
getId
public String getId()
-
resolveAction
public static KieEmbeddedEndpoint.Action resolveAction(String id)
-
-