public class LogManager
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DOJO_INSTALLATION_DIR |
static java.lang.String |
DOJO_WIDGET |
static java.lang.String[] |
logFilenames
These are the names of the log files we recognize.
|
static java.lang.String |
SEARCH_STRING |
static java.lang.String |
TRANSFORMATION_RESULT_FILE |
static java.lang.String |
XML_LOG_FILE |
| Constructor and Description |
|---|
LogManager() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getBrowserCommand(java.lang.String htmlLog)
Return the browser command to open the html Log
|
static java.lang.String |
getBrowserCommandForNewUnifiedReport(java.lang.String log) |
static java.lang.String |
getDatastoreFromLog(java.lang.String logstore) |
static java.lang.String |
getDojoJSLocation()
Return the dojo js location from the installation directory
|
static java.lang.String |
getLinuxBrowserCommand()
Utilty method to get a browser command that we can shell execute on Linux.
|
static java.lang.String |
getLogFile(java.lang.String folderName) |
static boolean |
hasLog(java.lang.String folderName)
whether the folder is a log directory
|
static boolean |
isInContainer()
Returns true if the execution is on a container.
|
static boolean |
isLogBrowserBased(java.lang.String logFileName)
Returns true if the log dosen;t require the eclipse IDE, to open the log.
|
static boolean |
openLog(java.lang.String logFilePath)
Returns true if the log is of dojo type and got opened successfully, false otherwise
|
static void |
removeScriptLogAssets(java.lang.String logFolder,
java.lang.String logName,
java.lang.String script)
Remove script log assets (log file and VPs)
|
public static final java.lang.String TRANSFORMATION_RESULT_FILE
public static final java.lang.String XML_LOG_FILE
public static final java.lang.String DOJO_INSTALLATION_DIR
public static final java.lang.String DOJO_WIDGET
public static final java.lang.String SEARCH_STRING
public static final java.lang.String[] logFilenames
public static void removeScriptLogAssets(java.lang.String logFolder,
java.lang.String logName,
java.lang.String script)
script - The script namepublic static boolean hasLog(java.lang.String folderName)
public static java.lang.String getLogFile(java.lang.String folderName)
public static java.lang.String getDatastoreFromLog(java.lang.String logstore)
public static java.lang.String getLinuxBrowserCommand()
public static java.lang.String getBrowserCommand(java.lang.String htmlLog)
htmlLog - public static java.lang.String getDojoJSLocation()
public static boolean openLog(java.lang.String logFilePath)
logFilePath - The log file pathpublic static boolean isLogBrowserBased(java.lang.String logFileName)
logFileName - public static java.lang.String getBrowserCommandForNewUnifiedReport(java.lang.String log)
public static boolean isInContainer()