com.gos4j
Class Gos4jConfig

java.lang.Object
  |
  +--com.gos4j.Gos4jConfig

public class Gos4jConfig
extends java.lang.Object

This holds the configuration of the Gos4j system.

You can set the following configuration options:

Author:
Hugh@hughreid.com 27-May-2003

Method Summary
 long getDefaultTypeDuration()
          Returns the defaultTypeDuration.
static com.gos4j.Gos4jConfig getInstance()
          This provides the static config.
 int getMaxPriority()
          Returns the maxPriority.
 int getMinPriority()
          Returns the minPriority.
 int getTypedExampleSmoothingFactor()
          Returns the typedExampleSmoothingFactor.
 long getUpdateCyclePeriod()
          Method getUpdateCyclePeriod.
 java.lang.String getUpdateThreadName()
          Method getUpdateThreadName.
 int getUpdateThreadPriority()
          Method getUpdateThreadPriority.
 void setDefaultTypeDuration(long defaultTypeDuration)
          Sets the defaultTypeDuration.
 void setMaxPriority(int maxPriority)
          Sets the maxPriority.
 void setMinPriority(int minPriority)
          Sets the minPriority.
 void setTypedExampleSmoothingFactor(int typedExampleSmoothingFactor)
          Sets the typedExampleSmoothingFactor.
 void setUpdateCyclePeriod(long updateCyclePeriod)
          Sets the updateCyclePeriod.
 void setUpdateThreadName(java.lang.String updateThreadName)
          Sets the updateThreadName.
 void setUpdateThreadPriority(int updateThreadPriority)
          Sets the updateThreadPriority.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static com.gos4j.Gos4jConfig getInstance()
This provides the static config.


getDefaultTypeDuration

public long getDefaultTypeDuration()
Returns the defaultTypeDuration.

Returns:
long

setDefaultTypeDuration

public void setDefaultTypeDuration(long defaultTypeDuration)
Sets the defaultTypeDuration.

Parameters:
defaultTypeDuration - The defaultTypeDuration to set

getMaxPriority

public int getMaxPriority()
Returns the maxPriority.

Returns:
int

getMinPriority

public int getMinPriority()
Returns the minPriority.

Returns:
int

setMaxPriority

public void setMaxPriority(int maxPriority)
Sets the maxPriority.

Parameters:
maxPriority - The maxPriority to set

setMinPriority

public void setMinPriority(int minPriority)
Sets the minPriority.

Parameters:
minPriority - The minPriority to set

getTypedExampleSmoothingFactor

public int getTypedExampleSmoothingFactor()
Returns the typedExampleSmoothingFactor.

Returns:
int

setTypedExampleSmoothingFactor

public void setTypedExampleSmoothingFactor(int typedExampleSmoothingFactor)
Sets the typedExampleSmoothingFactor.

Parameters:
typedExampleSmoothingFactor - The typedExampleSmoothingFactor to set

getUpdateCyclePeriod

public long getUpdateCyclePeriod()
Method getUpdateCyclePeriod.

Returns:
long

setUpdateCyclePeriod

public void setUpdateCyclePeriod(long updateCyclePeriod)
Sets the updateCyclePeriod.

Parameters:
updateCyclePeriod - The updateCyclePeriod to set

getUpdateThreadPriority

public int getUpdateThreadPriority()
Method getUpdateThreadPriority.

Returns:
int

getUpdateThreadName

public java.lang.String getUpdateThreadName()
Method getUpdateThreadName.

Returns:
String

setUpdateThreadName

public void setUpdateThreadName(java.lang.String updateThreadName)
Sets the updateThreadName.

Parameters:
updateThreadName - The updateThreadName to set

setUpdateThreadPriority

public void setUpdateThreadPriority(int updateThreadPriority)
Sets the updateThreadPriority.

Parameters:
updateThreadPriority - The updateThreadPriority to set