org.jboss.aophelper.core
Enum AopOption

java.lang.Object
  extended by java.lang.Enum<AopOption>
      extended by org.jboss.aophelper.core.AopOption
All Implemented Interfaces:
Serializable, Comparable<AopOption>

public enum AopOption
extends Enum<AopOption>

The specified option that an action will be performed on.

Version:
$Revision: 1.1 $
Author:
Stale W. Pedersen

Enum Constant Summary
AOPXML
           
CLASSPATH
           
EXECLASS
           
LOADTIME
           
NOOPT
           
REPORT
           
SRCPATH
           
SUPPRESS
           
UNSPECIFIED
           
VERBOSE
           
WORKINGDIR
           
 
Method Summary
static AopOption valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AopOption[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CLASSPATH

public static final AopOption CLASSPATH

AOPXML

public static final AopOption AOPXML

WORKINGDIR

public static final AopOption WORKINGDIR

VERBOSE

public static final AopOption VERBOSE

SUPPRESS

public static final AopOption SUPPRESS

NOOPT

public static final AopOption NOOPT

LOADTIME

public static final AopOption LOADTIME

REPORT

public static final AopOption REPORT

EXECLASS

public static final AopOption EXECLASS

SRCPATH

public static final AopOption SRCPATH

UNSPECIFIED

public static final AopOption UNSPECIFIED
Method Detail

values

public static AopOption[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (AopOption c : AopOption.values())
    System.out.println(c);

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

valueOf

public static AopOption 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
NullPointerException - if the argument is null


Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.