org.eclipse.jpt.eclipselink.core.context.persistence.customization
Enum Profiler

java.lang.Object
  extended by java.lang.Enum<Profiler>
      extended by org.eclipse.jpt.eclipselink.core.context.persistence.customization.Profiler
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Profiler>

public enum Profiler
extends java.lang.Enum<Profiler>

Profiler


Enum Constant Summary
no_profiler
           
performance_profiler
           
query_monitor
           
 
Field Summary
static java.lang.String NO_PROFILER
           
static java.lang.String PERFORMANCE_PROFILER
           
static java.lang.String PERFORMANCE_PROFILER_CLASS_NAME
           
static java.lang.String QUERY_MONITOR
           
static java.lang.String QUERY_MONITOR_CLASS_NAME
           
 
Method Summary
static java.lang.String getProfilerClassName(java.lang.String profilerValue)
           
static Profiler getProfilerFor(java.lang.String literal)
          Return the Profiler value corresponding to the given literal.
static Profiler valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Profiler[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

performance_profiler

public static final Profiler performance_profiler

query_monitor

public static final Profiler query_monitor

no_profiler

public static final Profiler no_profiler
Field Detail

PERFORMANCE_PROFILER

public static final java.lang.String PERFORMANCE_PROFILER
See Also:
Constant Field Values

QUERY_MONITOR

public static final java.lang.String QUERY_MONITOR
See Also:
Constant Field Values

NO_PROFILER

public static final java.lang.String NO_PROFILER
See Also:
Constant Field Values

PERFORMANCE_PROFILER_CLASS_NAME

public static final java.lang.String PERFORMANCE_PROFILER_CLASS_NAME
See Also:
Constant Field Values

QUERY_MONITOR_CLASS_NAME

public static final java.lang.String QUERY_MONITOR_CLASS_NAME
See Also:
Constant Field Values
Method Detail

values

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

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

valueOf

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

getProfilerFor

public static Profiler getProfilerFor(java.lang.String literal)
Return the Profiler value corresponding to the given literal.


getProfilerClassName

public static java.lang.String getProfilerClassName(java.lang.String profilerValue)