no.ntnu.vegare.visualizer.client.config
Class Configuration
java.lang.Object
no.ntnu.vegare.visualizer.client.config.Configuration
public class Configuration
- extends java.lang.Object
Thread safe singleton implementation by Bill Pugh:
http://en.wikipedia.org/wiki/Singleton_pattern
Provides access to the configuration parameters of the application.
These can be modified directly in this class or through the GUI.
- Author:
- vegare
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static Configuration getInstance()
isHttpAllowed
public boolean isHttpAllowed()
setHttpAllowed
public void setHttpAllowed(boolean httpAllowed)
isUnverifiedHttpsAllowed
public boolean isUnverifiedHttpsAllowed()
setUnverifiedHttpsAllowed
public void setUnverifiedHttpsAllowed(boolean unverifiedHttpsAllowed)
getDefaultUrl
public java.lang.String getDefaultUrl()
setDefaultUrl
public void setDefaultUrl(java.lang.String url)
getBacklogSize
public int getBacklogSize()
setBacklogSize
public void setBacklogSize(int backlogSize)
setSleepTime
public void setSleepTime(int sleepTime)
getSleepTime
public int getSleepTime()