public enum TargetType extends Enum<TargetType>
| Enum Constant and Description |
|---|
MESSAGE
The whole
Message is stored. |
PAYLOAD
Only stores the
Message.getPayload(). |
| Modifier and Type | Method and Description |
|---|---|
static TargetType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TargetType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TargetType PAYLOAD
Message.getPayload(). This is the default value.public static final TargetType MESSAGE
Message is stored. This is useful for situations in which you need access to other things
of the message which are not the payload (i.e. the message attributes).public static TargetType[] values()
for (TargetType c : TargetType.values()) System.out.println(c);
public static TargetType 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 nullCopyright © 2017 MuleSoft, Inc.. All rights reserved.