public abstract class ScriptProfilingEvent
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROFILE_KEY
Key in scriptframework.properties that determines if the profiling should
be turned on.
|
| Constructor and Description |
|---|
ScriptProfilingEvent() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
end(boolean success)
End the profiling and print the results to the trace log (if profiling is
turned on).
|
static ScriptProfilingEvent |
get(java.lang.String name)
Return a ScriptProfilingEvent.
|
static ScriptProfilingEvent |
getOn(java.lang.String name)
Return a ScriptProfilingEvent as if profiling is turned on.
|
public static final java.lang.String PROFILE_KEY
public static ScriptProfilingEvent get(java.lang.String name)
name - The name of the host component. To lookup up the language.public static ScriptProfilingEvent getOn(java.lang.String name)
name - The name of the host component. To lookup up the language.public abstract void end(boolean success)
success - Did the script execute successfully?