jasco.runtime
Enum Advice.Type

java.lang.Object
  extended by java.lang.Enum<Advice.Type>
      extended by jasco.runtime.Advice.Type
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Advice.Type>
Enclosing class:
Advice

public static enum Advice.Type
extends java.lang.Enum<Advice.Type>


Enum Constant Summary
AFTER
           
AFTER_RETURNING
           
AFTER_THROWING
           
AROUND
           
AROUND_RETURNING
           
AROUND_THROWING
           
BEFORE
           
ISAPPLICABLE
           
 
Method Summary
static Advice.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Advice.Type[] 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

BEFORE

public static final Advice.Type BEFORE

AFTER

public static final Advice.Type AFTER

AROUND

public static final Advice.Type AROUND

AROUND_THROWING

public static final Advice.Type AROUND_THROWING

AROUND_RETURNING

public static final Advice.Type AROUND_RETURNING

AFTER_THROWING

public static final Advice.Type AFTER_THROWING

AFTER_RETURNING

public static final Advice.Type AFTER_RETURNING

ISAPPLICABLE

public static final Advice.Type ISAPPLICABLE
Method Detail

values

public static final Advice.Type[] 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(Advice.Type c : Advice.Type.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static Advice.Type valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name