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
-
GeneralConfig()
-
-
getConfigDir()
- Gets the configuration directory
-
getErrorLog()
- Gets the error log file
-
getRestartCommand()
- Gets the restart command
-
getStartCommand()
- Gets the start command
-
getStopCommand()
- Gets the stop command
-
setConfigDir(String)
- Sets the configuration directory
-
setErrorLog(String)
- Sets the error log file
-
setRestartCommand(String)
- Sets the restart command
-
setStartCommand(String)
- Sets the start command
-
setStopCommand(String)
- Sets the stop command
GeneralConfig
public GeneralConfig()
getStartCommand
public String getStartCommand()
- Gets the start command
- Returns:
- the command used to start httpd
setStartCommand
public void setStartCommand(String s)
- Sets the start command
- Parameters:
- s - the command used to start httpd
getStopCommand
public String getStopCommand()
- Gets the stop command
- Returns:
- the command used to stop httpd
setStopCommand
public void setStopCommand(String s)
- Sets the stop command
- Parameters:
- s - the command used to stop httpd
getRestartCommand
public String getRestartCommand()
- Gets the restart command
- Returns:
- the command used to restart httpd
setRestartCommand
public void setRestartCommand(String s)
- Sets the restart command
- Parameters:
- s - the command used to restart httpd
getErrorLog
public String getErrorLog()
- Gets the error log file
- Returns:
- the file used to trace errors
setErrorLog
public void setErrorLog(String s)
- Sets the error log file
- Parameters:
- s - the error log filename
getConfigDir
public String getConfigDir()
- Gets the configuration directory
- Returns:
- the directory used when generating configuration files
setConfigDir
public void setConfigDir(String s)
- Sets the configuration directory
- Parameters:
- s - name of the directory used when generating config files