ProcessOptions Class Reference
ProcessOptions.
Public Member Functions | |
ProcessOptions (String processExec, String processPath, List< String > args, Boolean relaunch, int delayOnLaunch, Boolean critical) | |
ProcessOptions (String processExec, String processPath, List< String > args, Boolean relaunch, int delayOnLaunch, Boolean critical, String preScriptPath, String postScriptPath) | |
String | getProcessExec () |
Gets the process executable filename. More... | |
String | getProcessPath () |
Gets the process executable path. More... | |
List< String > | getArgs () |
Gets the process executable arguments. More... | |
Boolean | getRelaunch () |
Gets initial delay in launch. More... | |
int | getDelayOnLaunch () |
Gets the process delay after system launch (seconds) More... | |
Boolean | getCritical () |
Gets critical option. More... | |
String | getPreScriptPath () |
Gets pre script path : script to be executed before the process start / execution. More... | |
String | getPostScriptPath () |
Gets post script path : script to be executed after the process termination / execution. More... | |
Constructor & Destructor Documentation
ProcessOptions | ( | String | processExec, |
String | processPath, | ||
List< String > | args, | ||
Boolean | relaunch, | ||
int | delayOnLaunch, | ||
Boolean | critical | ||
) |
Constructor
- Parameters
-
processExec process executable filename processPath process executable path args executable arguments relaunch true if process must be relaunched when finishes delayOnLaunch initial delay in launch critical indicates if the process is critical (related to OTAUpdater)
ProcessOptions | ( | String | processExec, |
String | processPath, | ||
List< String > | args, | ||
Boolean | relaunch, | ||
int | delayOnLaunch, | ||
Boolean | critical, | ||
String | preScriptPath, | ||
String | postScriptPath | ||
) |
Constructor
- Parameters
-
processExec process executable filename processPath process executable path args executable arguments relaunch true if process must be relaunched when finishes delayOnLaunch initial delay in launch critical indicates if the process is critical (related to OTAUpdater) preScriptPath path of the script to be executed before the process start / execution postScriptPath path of the script to be executed after the process termination / execution
Member Function Documentation
List<String> getArgs | ( | ) |
- Returns
- process executable arguments
Boolean getCritical | ( | ) |
- Returns
- indicates if the process is critical (related to OTAUpdater)
int getDelayOnLaunch | ( | ) |
- Returns
- process delay after system launch (seconds)
String getPostScriptPath | ( | ) |
- Returns
- path of the script to be executed after the process termination / execution
String getPreScriptPath | ( | ) |
- Returns
- path of the script to be executed before the process start / execution
String getProcessExec | ( | ) |
- Returns
- process executable filename
String getProcessPath | ( | ) |
- Returns
- process executable path
Boolean getRelaunch | ( | ) |
- Returns
- initial delay in launch