Class ApacheConstants
- java.lang.Object
-
- com._1c.g5.v8.dt.platform.services.core.ApacheConstants
-
public final class ApacheConstants extends Object
Utility OS-depentant methods to get default Apache Web Server executable shell command and configuration file locations.- Restriction:
- This class is not intended to be sub-classed by clients.
- Restriction:
- This class is not intended to be instantiated by clients.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Path
configPath()
Returns path to the Apache Web Server configuration file in the appropriate OS.static String
shellCommand()
Returns executable shell command to manage Apache Web Server in the appropriate OS.
-
-
-
Method Detail
-
configPath
public static Path configPath()
Returns path to the Apache Web Server configuration file in the appropriate OS.- Returns:
- path to the Apache Web Server configuration file, never
null
-
shellCommand
public static String shellCommand()
Returns executable shell command to manage Apache Web Server in the appropriate OS. Can be used to restart web server service.- Returns:
- executable shell command to manage Apache Web Server, never
null
-
-