org.netbeans.modules.bpel.model.ext.logging.api
Enum Location

java.lang.Object
  extended by java.lang.Enum<Location>
      extended by org.netbeans.modules.bpel.model.ext.logging.api.Location
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Location>, EnumValue

public enum Location
extends java.lang.Enum<Location>
implements EnumValue

Author:
ads

Enum Constant Summary
INVALID
           
ON_COMPLETE
           
ON_START
           
 
Method Summary
static Location forString(java.lang.String str)
           
 boolean isInvalid()
          
 java.lang.String toString()
          
static Location valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Location[] 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, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ON_START

public static final Location ON_START

ON_COMPLETE

public static final Location ON_COMPLETE

INVALID

public static final Location INVALID
Method Detail

values

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

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

valueOf

public static Location 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

isInvalid

public boolean isInvalid()

Specified by:
isInvalid in interface EnumValue
Returns:
Is valid or not this enumeration object.

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Enum<Location>

forString

public static Location forString(java.lang.String str)
Parameters:
str - String representation of enum.
Returns:
Enumeration class that have str representation.