public enum ExchangePattern extends Enum<ExchangePattern>
Enum Constant and Description |
---|
InOnly |
InOptionalOut |
InOut |
Modifier and Type | Method and Description |
---|---|
static ExchangePattern |
asEnum(String value) |
boolean |
isInCapable()
Return true if there can be an IN message
|
boolean |
isOutCapable()
Return true if there can be an OUT message
|
static ExchangePattern |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExchangePattern[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExchangePattern InOnly
public static final ExchangePattern InOut
public static final ExchangePattern InOptionalOut
public static ExchangePattern[] values()
for (ExchangePattern c : ExchangePattern.values()) System.out.println(c);
public static ExchangePattern valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isInCapable()
public boolean isOutCapable()
public static ExchangePattern asEnum(String value)
Apache Camel