Package org.apache.camel.component.jt400
Enum Class Jt400Configuration.MessageAction
java.lang.Object
java.lang.Enum<Jt400Configuration.MessageAction>
org.apache.camel.component.jt400.Jt400Configuration.MessageAction
- All Implemented Interfaces:
Serializable,Comparable<Jt400Configuration.MessageAction>,Constable
- Enclosing class:
Jt400Configuration
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the string literal value that can be used for APIs from the JTOpen (jt400) librariesReturns the enum constant of this class with the specified name.static Jt400Configuration.MessageAction[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OLD
Keep the message in the message queue and mark it as an old message -
REMOVE
Remove the message from the message queue -
SAME
Keep the message in the message queue without changing its new or old designation
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
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
-