com.pushtotest.testmaker.gui
Class Preferences

java.lang.Object
  extended by com.pushtotest.testmaker.gui.Preferences

public class Preferences
extends java.lang.Object


Field Summary
static int checkDays
           
 
Constructor Summary
Preferences()
           
 
Method Summary
 boolean checkForUpdate()
          Check to see if it is time to check the PushToTest Web site for an update to TestMaker.
static int getPortNumber()
          Get the Agent Recorder port number
 boolean getRecorderDebug()
           
 java.lang.String getRecorderProxy()
           
 boolean getRecorderProxyFlag()
          Returns true if user set preference to use the Recorder proxy
 java.lang.String getRecorderProxyPass()
           
static int getRecorderProxyPortNumber()
          Returns the user set preference for the Recorder proxy port number.
 java.lang.String getRecorderProxyUser()
           
 void loadState()
          Load the preference settings from the TestMaker.properties XML document
 void saveState()
          Save the preference settings to the TestMaker.properties XML document
static void setPortNumber(int port)
          Set the Agent Recorder port number
static void setVisible(boolean viz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

checkDays

public static int checkDays
Constructor Detail

Preferences

public Preferences()
Method Detail

setVisible

public static void setVisible(boolean viz)

getPortNumber

public static int getPortNumber()
Get the Agent Recorder port number


setPortNumber

public static void setPortNumber(int port)
Set the Agent Recorder port number


getRecorderProxyPortNumber

public static int getRecorderProxyPortNumber()
Returns the user set preference for the Recorder proxy port number. This is different than getPortNumber(). That returns the port number for the browser to use. This is the proxy port number for TestMaker's Recorder to use.


getRecorderProxy

public java.lang.String getRecorderProxy()

getRecorderProxyUser

public java.lang.String getRecorderProxyUser()

getRecorderProxyPass

public java.lang.String getRecorderProxyPass()

getRecorderProxyFlag

public boolean getRecorderProxyFlag()
Returns true if user set preference to use the Recorder proxy


getRecorderDebug

public boolean getRecorderDebug()

checkForUpdate

public boolean checkForUpdate()
Check to see if it is time to check the PushToTest Web site for an update to TestMaker.


saveState

public void saveState()
Save the preference settings to the TestMaker.properties XML document


loadState

public void loadState()
Load the preference settings from the TestMaker.properties XML document