Package PamController.extern
Class ExternalController
java.lang.Object
PamController.extern.ExternalController
- Direct Known Subclasses:
ExternalCapture
- Author:
- dg50 Class to run an external executable, gather data from it and probably also offer some sort of terminal window or logging.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleankill(long waitTime, boolean forceIt) booleanlaunch(LineObserver capture, LineObserver captureErrors) voidsetCommandOptions(String commandOptions) voidsetExeFile(String exeFile)
-
Constructor Details
-
ExternalController
public ExternalController()
-
-
Method Details
-
launch
-
kill
public boolean kill(long waitTime, boolean forceIt) -
getExeFile
- Returns:
- the exeFile
-
setExeFile
- Parameters:
exeFile- the exeFile to set
-
getCommandOptions
- Returns:
- the commandOptions
-
setCommandOptions
- Parameters:
commandOptions- the commandOptions to set
-
getProcess
- Returns:
- the process
-
getLaunchError
- Returns:
- the launchError
-