Package org.apache.camel.component.jt400
Enum Jt400Configuration.MessageAction
- java.lang.Object
-
- java.lang.Enum<Jt400Configuration.MessageAction>
-
- org.apache.camel.component.jt400.Jt400Configuration.MessageAction
-
- All Implemented Interfaces:
Serializable,Comparable<Jt400Configuration.MessageAction>
- Enclosing class:
- Jt400Configuration
public static enum Jt400Configuration.MessageAction extends Enum<Jt400Configuration.MessageAction>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetJt400Value()Returns the string literal value that can be used for APIs from the JTOpen (jt400) librariesstatic Jt400Configuration.MessageActionvalueOf(String name)Returns the enum constant of this type with the specified name.static Jt400Configuration.MessageAction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OLD
public static final Jt400Configuration.MessageAction OLD
Keep the message in the message queue and mark it as an old message
-
REMOVE
public static final Jt400Configuration.MessageAction REMOVE
Remove the message from the message queue
-
SAME
public static final Jt400Configuration.MessageAction SAME
Keep the message in the message queue without changing its new or old designation
-
-
Method Detail
-
values
public static Jt400Configuration.MessageAction[] 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 (Jt400Configuration.MessageAction c : Jt400Configuration.MessageAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Jt400Configuration.MessageAction 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
-
getJt400Value
public String getJt400Value()
Returns the string literal value that can be used for APIs from the JTOpen (jt400) libraries- Returns:
- a value suitable for use with jt400 libraries
-
-