Package com.consol.citrus.message
Enum MessageDirection
- java.lang.Object
-
- java.lang.Enum<MessageDirection>
-
- com.consol.citrus.message.MessageDirection
-
- All Implemented Interfaces:
Serializable,Comparable<MessageDirection>
public enum MessageDirection extends Enum<MessageDirection>
Indicates message direction inbound, outbound or unbounded.- Since:
- 2.7
- Author:
- Christoph Deppisch
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MessageDirectionvalueOf(String name)Returns the enum constant of this type with the specified name.static MessageDirection[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INBOUND
public static final MessageDirection INBOUND
-
OUTBOUND
public static final MessageDirection OUTBOUND
-
UNBOUND
public static final MessageDirection UNBOUND
-
-
Method Detail
-
values
public static MessageDirection[] 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 (MessageDirection c : MessageDirection.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MessageDirection 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
-
-