org.iqual.chaplin
Enum InvocationMode

java.lang.Object
  extended by java.lang.Enum<InvocationMode>
      extended by 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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

sideEffect

public static final InvocationMode sideEffect
The side effect invocation


concern

public static final InvocationMode concern
The concern invocation


mixin

public static final InvocationMode mixin
Method Detail

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.