public static enum Output.OutputMode extends Enum<Output.OutputMode>
| Enum Constant and Description |
|---|
CHANNEL
Channel mode.
The variable is just passed to an output channel. |
COLLECTION
Collection mode.
The results are collected before being returned by the annotated method. |
ELEMENT
Element mode.
The elements of the result array or iterable are passed one by one to the output channel. |
| Modifier and Type | Method and Description |
|---|---|
static Output.OutputMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Output.OutputMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Output.OutputMode CHANNEL
OutputChannel.public static final Output.OutputMode ELEMENT
OutputChannel.public static final Output.OutputMode COLLECTION
List.public static Output.OutputMode[] values()
for (Output.OutputMode c : Output.OutputMode.values()) System.out.println(c);
public static Output.OutputMode 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 null