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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
kill
(long waitTime, boolean forceIt) boolean
launch
(LineObserver capture, LineObserver captureErrors) void
setCommandOptions
(String commandOptions) void
setExeFile
(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
-