org.eclipse.jpt.jpa.eclipselink.core.context.persistence.customization
Enum Profiler
java.lang.Object
java.lang.Enum<Profiler>
org.eclipse.jpt.jpa.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
|
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 are 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 |
performance_profiler
public static final Profiler performance_profiler
query_monitor
public static final Profiler query_monitor
no_profiler
public static final Profiler no_profiler
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
values
public static Profiler[] 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 (Profiler c : Profiler.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are 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
java.lang.NullPointerException - if the argument is null
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)