com.bowstreet.util
Interface SystemTrace


public interface SystemTrace

Used to hold tracing information for running WebApp


Field Summary
static int COMPILE
           
static int INSTANTIATE
           
static int METHOD
           
static int MODEL
           
static int PAGE
           
static int PROFILE_SELECTION
           
static int REGEN
           
 
Method Summary
 void addDebugText(java.lang.String text)
          Adds some text that will be logged with tracing info
 SystemTrace append(int type, java.lang.String name)
          Creates and appends a new SystemTrace to this one.
 void enableTracing()
          Enables tracing for this object
 void endTrace()
          Ends the timing for this SystemTrace object
 void setModelName(java.lang.String modelName)
          Sets model name for this action
 

Field Detail

COMPILE

static final int COMPILE
See Also:
Constant Field Values

INSTANTIATE

static final int INSTANTIATE
See Also:
Constant Field Values

METHOD

static final int METHOD
See Also:
Constant Field Values

MODEL

static final int MODEL
See Also:
Constant Field Values

PAGE

static final int PAGE
See Also:
Constant Field Values

PROFILE_SELECTION

static final int PROFILE_SELECTION
See Also:
Constant Field Values

REGEN

static final int REGEN
See Also:
Constant Field Values
Method Detail

addDebugText

void addDebugText(java.lang.String text)
Adds some text that will be logged with tracing info

Parameters:
text - The text to log

append

SystemTrace append(int type,
                   java.lang.String name)
Creates and appends a new SystemTrace to this one.

Parameters:
type - The trace type (MODEL, METHOD, or PAGE).
name - The name of the specified type.
Returns:
The new SystemTrace

enableTracing

void enableTracing()
Enables tracing for this object


endTrace

void endTrace()
Ends the timing for this SystemTrace object


setModelName

void setModelName(java.lang.String modelName)
Sets model name for this action



Copyright © 2009 IBM. All Rights Reserved.