Class GeneralConfig

java.lang.Object
   |
   +----GeneralConfig

public class GeneralConfig
extends Object
This object is used to store the general configuration accessible from the preferences menu

Author:
Patrice Bensoussan, Thierry Bensoussan

Constructor Index

 o GeneralConfig()

Method Index

 o getConfigDir()
Gets the configuration directory
 o getErrorLog()
Gets the error log file
 o getRestartCommand()
Gets the restart command
 o getStartCommand()
Gets the start command
 o getStopCommand()
Gets the stop command
 o setConfigDir(String)
Sets the configuration directory
 o setErrorLog(String)
Sets the error log file
 o setRestartCommand(String)
Sets the restart command
 o setStartCommand(String)
Sets the start command
 o setStopCommand(String)
Sets the stop command

Constructors

 o GeneralConfig
 public GeneralConfig()

Methods

 o getStartCommand
 public String getStartCommand()
Gets the start command

Returns:
the command used to start httpd
 o setStartCommand
 public void setStartCommand(String s)
Sets the start command

Parameters:
s - the command used to start httpd
 o getStopCommand
 public String getStopCommand()
Gets the stop command

Returns:
the command used to stop httpd
 o setStopCommand
 public void setStopCommand(String s)
Sets the stop command

Parameters:
s - the command used to stop httpd
 o getRestartCommand
 public String getRestartCommand()
Gets the restart command

Returns:
the command used to restart httpd
 o setRestartCommand
 public void setRestartCommand(String s)
Sets the restart command

Parameters:
s - the command used to restart httpd
 o getErrorLog
 public String getErrorLog()
Gets the error log file

Returns:
the file used to trace errors
 o setErrorLog
 public void setErrorLog(String s)
Sets the error log file

Parameters:
s - the error log filename
 o getConfigDir
 public String getConfigDir()
Gets the configuration directory

Returns:
the directory used when generating configuration files
 o setConfigDir
 public void setConfigDir(String s)
Sets the configuration directory

Parameters:
s - name of the directory used when generating config files