|
Oracle Fusion Middleware JavaScript API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E12046-04 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |
org.ecmascript.object.Object | +--oracle.adf.view.js.profiling.AdfCheckpoint
public class AdfCheckpoint extends Object
AdfCheckpoint.getCheckpoint()
method.
Field Summary |
|
---|---|
private static Boolean |
|
private static Object |
|
private static String |
|
private static Object |
|
private static Number |
|
Fields inherited from org.ecmascript.object.Object |
constructor, prototype |
Constructor Summary |
|
---|---|
private |
|
Method Summary |
|
---|---|
public static Object |
|
public Object |
|
public Object |
|
public static Object |
|
public Object |
|
private static Object |
|
private Object |
|
public Object |
|
private static Object |
|
public static Object |
|
public static Object |
|
public static Object |
|
public Object |
|
public Object |
|
public Object |
|
public Object |
|
Field Detail |
---|
private static Boolean _checkpointEnabled
private static Object _checkpoints
private static String _NULL_ID
private static Object _overrides
private static Number _uid
Constructor Detail |
---|
private AdfCheckpoint(Object id,
Object group)
AdfCheckpoint.getCheckpoint()
to get an instance.id |
||
group |
Method Detail |
---|
public static Object getCheckpoint(String id,
String group)
id |
- | the id of this checkpoint |
group |
- | the optional group of this checkpoint |
Object
- a AdfCheckpoint for this id and groupError
if asserts are enabled and when id is nullpublic Object getDescription()
Object
- the description of checkpoint.public Object getGroup()
getCheckpoint(String, String)
should already be initialized.Object
- the group or null
if this item has no groupError
if asserts are enabled and if the checkpoint has not been initializedpublic static Object getGroupCheckpoints(Object group)
group |
Object
- an Array of AdfCheckpoints for this groupError
if asserts are enabled and when the group is nullpublic Object getId()
getCheckpoint(String, String)
should already be initialized.Object
- the idError
if asserts are enabled and if the checkpoint has not been initializedprivate static Object _getKey(Object id,
Object group)
id |
||
group |
Object
- a String with a keyprivate Object _init(String id,
String group)
id |
- | the id of this checkpoint |
group |
- | the optional group of this checkpoint |
Object
public Object isEnabled()
setCheckpointsEnabled(Boolean)
and setCheckpointOverride(String, String, Boolean)
.Object
- true if this checkpoint is currently enabledprivate static Object _isEnabled(String id,
String group)
id |
- | the id of the checkpoint |
group |
- | the optional group of the checkpoint |
Object
public static Object removeCheckpointOverride(String id,
String group)
_checkpointEnabled
flag.id |
- | the id of the checkpoint override to remove. If this is null then the group checkpoint override will be removed but individual overrides will not. |
group |
- | the group of the checkpoint override to remove. If this is null then it pertains only to those checkpoints which do NOT have a group. |
Object
public static Object setCheckpointOverride(String id,
String group,
Boolean enabled)
_checkpointEnabled
flag.id |
- | the id of the checkpoint to override. If this is null then the override will pertain to every checkpoint in the group. |
group |
- | the group of the checkpoints to override. If this is null then it pertains only to those checkpoints which do NOT have a group. |
enabled |
- | the value for the checkpoint override. If this is true then the checkpoint will be enabled. If this is false then the checkpoint is not enabled. |
Object
Error
if asserts are enabled and when override is nullpublic static Object setCheckpointsEnabled(Boolean enabled)
enabled |
- | true if checkpoints are to be enabled by default. |
Object
Error
if asserts are enabled and when override is nullpublic Object setDescription(String desc)
desc |
- | the description of checkpoint. |
Object
public Object start(Object callingMethod,
Array params)
callingMethod |
- | an optional parameter specifying the method that this start is being called from. |
params |
- | an option array of parameters that were used to call the method that this start is being called from. |
Object
- a uid which must be used in the stop(String)
methodpublic Object stop(String uid)
uid |
- | a string containing the uid that was returned from the start method when it was called. This will stop the profiling. |
Object
Error
if asserts are enabled and if uid is null or if the checkpoint does not exist.public Object toString()
Object
- the string of this checkpoint
|
Oracle Fusion Middleware JavaScript API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E12046-04 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |