org.iqual.chaplin
Enum InvocationMode
java.lang.Object
java.lang.Enum<InvocationMode>
org.iqual.chaplin.InvocationMode
- All Implemented Interfaces:
- Serializable, Comparable<InvocationMode>
public enum InvocationMode
- extends Enum<InvocationMode>
- Since:
- Jul 9, 2009 10:57:13 PM
- Author:
- Zbynek Slajchrt
|
Enum Constant Summary |
concern
The concern invocation
is allowed to change input values
is that whose return value(s) replaces the value(s) returned from the precedent processing
is that whose exceptions interrupt the message processing
|
mixin
|
sideEffect
The side effect invocation
Cannot change the input values. |
|
Method Summary |
static InvocationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static InvocationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
sideEffect
public static final InvocationMode sideEffect
- The side effect invocation
- Cannot change the input values. The values passed by the side effect to the next receiver are ignored.
- The return value is ignored.
- Any exception thrown by the side effect must not intervene the messsage processing. The exception is
immediatelly caught by the controller and logged.
concern
public static final InvocationMode concern
- The concern invocation
- is allowed to change input values
- is that whose return value(s) replaces the value(s) returned from the precedent processing
- is that whose exceptions interrupt the message processing
mixin
public static final InvocationMode mixin
values
public static final InvocationMode[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(InvocationMode c : InvocationMode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static InvocationMode 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 name
Copyright © 2009 iquality.org. All Rights Reserved.