net.sf.infrared.web
Class InfraREDWebOptions

java.lang.Object
  extended bynet.sf.infrared.web.InfraREDWebOptions

public class InfraREDWebOptions
extends Object

Properties Reader for INfraRED Web Properties.


Field Summary
static String API_NAME_LENGTH_LIMIT
           
static String COLOR_THRESHOLD_KEY
           
static String DATA_TRANSFER_TIMER_FREQUENCY_KEY
           
static String DEFAULT_API_NAME_LENGTH_LIMIT
           
static String DEFAULT_COLOR_THRESHOLD
           
static String DEFAULT_DATA_TRANSFER_TIMER_FREQUENCY
           
static String DEFAULT_FILE_PERSIST_DIR
           
static String DEFAULT_NO_OF_LAST_INVOCATIONS_TO_TRACK
           
static String DEFAULT_NUMBER_OF_SQL_QUERIES_TO_BE_DISPLAYED
           
static String DEFAULT_NUMBER_OF_SQL_QUERIES_TO_BE_DISPLAYED_IN_CALL_TRACE_PAGE
           
static String DEFAULT_PERSISTANCE_MEDIUM
           
static String DEFAULT_SNAPSHOT_DIRECTORY
           
static String FILE_PERSIST_DIR_KEY
           
static String JSP_TREE_USAGE
           
static String NUMBER_OF_SQL_QUERIES_TO_BE_DISPLAYED
           
static String NUMBER_OF_SQL_QUERIES_TO_BE_DISPLAYED_IN_CALL_TRACE_PAGE
           
static String PERSISTANCE_MEDIUM_KEY
           
static String SNAPSHOT_DIRECTORY_KEY
           
static String USE_TIMER_FOR_DATA_TRANSFER_KEY
           
 
Constructor Summary
InfraREDWebOptions()
           
 
Method Summary
static int getApiNameLengthLimit()
           
static double getColorThreshold()
           
static String getLogDir()
          Gets the directory to which performance data should be written to if file persistance is chosen
static int getNoOfSqlQueriesToBeDisplayed()
           
static int getNoOfSqlQueriesToBeDisplayedInCallTracePage()
           
static String getPersistanceMedium()
          Gets the persistance medium chosen by the user i.e.
static String getSnapShotDir()
           
static long getTimerFrequency()
           
static boolean isDebugLoggingEnabled()
           
static boolean useJspTree()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SNAPSHOT_DIRECTORY_KEY

public static final String SNAPSHOT_DIRECTORY_KEY
See Also:
Constant Field Values

DEFAULT_SNAPSHOT_DIRECTORY

public static final String DEFAULT_SNAPSHOT_DIRECTORY
See Also:
Constant Field Values

COLOR_THRESHOLD_KEY

public static final String COLOR_THRESHOLD_KEY
See Also:
Constant Field Values

DEFAULT_COLOR_THRESHOLD

public static final String DEFAULT_COLOR_THRESHOLD
See Also:
Constant Field Values

NUMBER_OF_SQL_QUERIES_TO_BE_DISPLAYED

public static final String NUMBER_OF_SQL_QUERIES_TO_BE_DISPLAYED
See Also:
Constant Field Values

DEFAULT_NUMBER_OF_SQL_QUERIES_TO_BE_DISPLAYED

public static final String DEFAULT_NUMBER_OF_SQL_QUERIES_TO_BE_DISPLAYED
See Also:
Constant Field Values

NUMBER_OF_SQL_QUERIES_TO_BE_DISPLAYED_IN_CALL_TRACE_PAGE

public static final String NUMBER_OF_SQL_QUERIES_TO_BE_DISPLAYED_IN_CALL_TRACE_PAGE
See Also:
Constant Field Values

DEFAULT_NUMBER_OF_SQL_QUERIES_TO_BE_DISPLAYED_IN_CALL_TRACE_PAGE

public static final String DEFAULT_NUMBER_OF_SQL_QUERIES_TO_BE_DISPLAYED_IN_CALL_TRACE_PAGE
See Also:
Constant Field Values

API_NAME_LENGTH_LIMIT

public static final String API_NAME_LENGTH_LIMIT
See Also:
Constant Field Values

DEFAULT_API_NAME_LENGTH_LIMIT

public static final String DEFAULT_API_NAME_LENGTH_LIMIT
See Also:
Constant Field Values

USE_TIMER_FOR_DATA_TRANSFER_KEY

public static final String USE_TIMER_FOR_DATA_TRANSFER_KEY
See Also:
Constant Field Values

DATA_TRANSFER_TIMER_FREQUENCY_KEY

public static final String DATA_TRANSFER_TIMER_FREQUENCY_KEY
See Also:
Constant Field Values

DEFAULT_DATA_TRANSFER_TIMER_FREQUENCY

public static final String DEFAULT_DATA_TRANSFER_TIMER_FREQUENCY
See Also:
Constant Field Values

PERSISTANCE_MEDIUM_KEY

public static final String PERSISTANCE_MEDIUM_KEY
See Also:
Constant Field Values

DEFAULT_PERSISTANCE_MEDIUM

public static final String DEFAULT_PERSISTANCE_MEDIUM
See Also:
Constant Field Values

FILE_PERSIST_DIR_KEY

public static final String FILE_PERSIST_DIR_KEY
See Also:
Constant Field Values

DEFAULT_FILE_PERSIST_DIR

public static final String DEFAULT_FILE_PERSIST_DIR
See Also:
Constant Field Values

DEFAULT_NO_OF_LAST_INVOCATIONS_TO_TRACK

public static final String DEFAULT_NO_OF_LAST_INVOCATIONS_TO_TRACK
See Also:
Constant Field Values

JSP_TREE_USAGE

public static final String JSP_TREE_USAGE
See Also:
Constant Field Values
Constructor Detail

InfraREDWebOptions

public InfraREDWebOptions()
Method Detail

getSnapShotDir

public static String getSnapShotDir()

getColorThreshold

public static double getColorThreshold()

getNoOfSqlQueriesToBeDisplayed

public static int getNoOfSqlQueriesToBeDisplayed()

getNoOfSqlQueriesToBeDisplayedInCallTracePage

public static int getNoOfSqlQueriesToBeDisplayedInCallTracePage()

getApiNameLengthLimit

public static int getApiNameLengthLimit()

getPersistanceMedium

public static String getPersistanceMedium()
Gets the persistance medium chosen by the user i.e. 'file' or 'db'

Returns:

getLogDir

public static String getLogDir()
Gets the directory to which performance data should be written to if file persistance is chosen

Returns:

getTimerFrequency

public static long getTimerFrequency()

isDebugLoggingEnabled

public static boolean isDebugLoggingEnabled()

useJspTree

public static boolean useJspTree()