no.ntnu.vegare.visualizer.client.config
Class Configuration

java.lang.Object
  extended by 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

Method Summary
 int getBacklogSize()
           
 java.lang.String getDefaultUrl()
           
static Configuration getInstance()
           
 int getSleepTime()
           
 boolean isHttpAllowed()
           
 boolean isUnverifiedHttpsAllowed()
           
 void setBacklogSize(int backlogSize)
           
 void setDefaultUrl(java.lang.String url)
           
 void setHttpAllowed(boolean httpAllowed)
           
 void setSleepTime(int sleepTime)
           
 void setUnverifiedHttpsAllowed(boolean unverifiedHttpsAllowed)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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()