|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--webtester.packages.config.globalConfig
Contains global configuration information, which is information that isn't specific to test cases.
Field Summary | |
private java.lang.String |
sConfigFile
The configuration file used. |
private java.lang.String |
sDefaultNotificationAddress
The address which receives all notifications sent by the application. |
private java.lang.String |
sFromAddress
The from address used when sending email notifications. |
private java.lang.String |
sLoggingPath
The path to use for writing logfiles. |
private java.lang.String |
sMailServer
The mailserver to use for sending notifications. |
private java.lang.String |
sNotificationsEnabled
Indicates whether notifications are enabled or disabled. |
private java.lang.String |
sNumberOfThreads
The number of threads to use when executing test cases. |
private java.lang.String |
sRandomOrder
Determines if test case are executed in random order. |
private java.lang.String |
sRunOnlyOnce
Whether the application should run test cases once, or in a continuous loop. |
private java.lang.String |
sRunTime
The time, in minutes, to execute the test case. |
private java.lang.String |
sSpamCount
The number of messages sent before the application considers itself to be spamming. |
private java.lang.String |
sStatsEmail
Determines if a statistics email will be sent when the application has finished executing. |
private java.lang.String |
sStatsReporting
Indicates whether statisitics reporting to the webtester website is allowed. |
Constructor Summary | |
globalConfig()
|
Method Summary | |
java.lang.String |
getConfigFile()
Return the filename of the config file being used. |
java.lang.String |
getDefaultNotificationAddress()
Retrieve the default notification address. |
java.lang.String |
getFromAddress()
Return the "FROM" address to be used for notifications. |
java.lang.String |
getLoggingPath()
Return a value which indicates where logfiles will be written. |
java.lang.String |
getMailServer()
Return the mail server to be used for sending notifications. |
java.lang.String |
getNotificationsEnabled()
Return the value which indiciates if notifications are enabled. |
int |
getNumberOfThreads()
Return the number of threads the application can use. |
java.lang.String |
getRandomOrder()
Return a value which indicates if the test cases are executed in random order. |
java.lang.String |
getRunOnlyOnce()
Return the value which indicates whether test cases should be executed only once. |
java.lang.String |
getRunTime()
Retrieve the amount of time the test cases should be executed. |
int |
getSpamCount()
Return a value which indicates how many notifications can be sent. |
java.lang.String |
getStatsEmail()
Return the value which indicates whether an email containing statistical data should be sent. |
java.lang.String |
getStatsReporting()
Return the value for statistics reporting. |
void |
setConfigFile(java.lang.String sFile)
Set the filename of the config file being used. |
void |
setDefaultNotificationAddress(java.lang.String sAddress)
Set the address which receives all notifications sent by the application. |
void |
setFromAddress(java.lang.String sAddr)
Set the "FROM" address to be used when notifications are sent. |
void |
setLoggingPath(java.lang.String sPath)
Set the value which indicates where logfiles will be written. |
void |
setMailServer(java.lang.String sServer)
Set the mail server that should be used for sending notifications. |
void |
setNotificationsEnabled(java.lang.String sStr)
Set the value which indicates whether notifications are enabled. |
void |
setNumberOfThreads(java.lang.String sNum)
Set the number of threads the application can use. |
void |
setRandomOrder(java.lang.String sStr)
Set the value which indicates if the test cases are executed in random order. |
void |
setRunOnlyOnce(java.lang.String sStr)
Set a string which indicates whether test cases should be executed only once. |
void |
setRunTime(java.lang.String sStr)
Set the amount of time test cases should be executed. |
void |
setSpamCount(java.lang.String sCount)
Set a value which indicates how many notifications can be sent. |
void |
setStatsEmail(java.lang.String sValue)
Set the value which indicates whether an email containing statistical data should be sent. |
void |
setStatsReporting(java.lang.String sValue)
Set the value which indicates if statistics can be reported. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String sDefaultNotificationAddress
private java.lang.String sNumberOfThreads
private java.lang.String sRunOnlyOnce
private java.lang.String sMailServer
private java.lang.String sLoggingPath
private java.lang.String sSpamCount
private java.lang.String sFromAddress
private java.lang.String sNotificationsEnabled
private java.lang.String sStatsReporting
private java.lang.String sStatsEmail
private java.lang.String sRandomOrder
private java.lang.String sConfigFile
private java.lang.String sRunTime
Constructor Detail |
public globalConfig()
Method Detail |
public void setDefaultNotificationAddress(java.lang.String sAddress)
sAddress
- the email address which should receive all notificationspublic java.lang.String getDefaultNotificationAddress()
public void setNotificationsEnabled(java.lang.String sStr)
sStr
- the value retrieved from the configuration filepublic java.lang.String getNotificationsEnabled()
public void setNumberOfThreads(java.lang.String sNum)
sNum
- a String representing the number of threads that can be usedpublic int getNumberOfThreads()
public void setRunOnlyOnce(java.lang.String sStr)
sStr
- a String which, if "NO", indicates that test cases should run in an infinite loop.public java.lang.String getRunOnlyOnce()
public void setMailServer(java.lang.String sServer)
sServer
- the mail server that should be used for sending notificationspublic java.lang.String getMailServer()
public void setLoggingPath(java.lang.String sPath)
sPath
- a String which indicates the path where logfiles will be writtenpublic java.lang.String getLoggingPath()
public void setSpamCount(java.lang.String sCount)
sCount
- the number of notifications which can be sentgpublic int getSpamCount()
public void setFromAddress(java.lang.String sAddr)
sAddr
- the "FROM" address that appears in email notificationspublic java.lang.String getFromAddress()
public void setStatsReporting(java.lang.String sValue)
sValue
- indicates whether the stats reporting feature is enabledpublic java.lang.String getStatsReporting()
public void setStatsEmail(java.lang.String sValue)
sValue
- if ON, indicates that the feature is enabledpublic java.lang.String getStatsEmail()
public void setConfigFile(java.lang.String sFile)
sFile
- the name of the config file being usedpublic java.lang.String getConfigFile()
public java.lang.String getRandomOrder()
public void setRandomOrder(java.lang.String sStr)
sStr
- the value which indicates if the test cases are executed in random orderpublic java.lang.String getRunTime()
public void setRunTime(java.lang.String sStr)
sStr
- a String that specifies how long test cases should be executed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |