Class ExternalController

java.lang.Object
PamController.extern.ExternalController
Direct Known Subclasses:
ExternalCapture

public class ExternalController extends Object
Author:
dg50 Class to run an external executable, gather data from it and probably also offer some sort of terminal window or logging.
  • Constructor Details

    • ExternalController

      public ExternalController()
  • Method Details

    • launch

      public boolean launch(LineObserver capture, LineObserver captureErrors)
    • kill

      public boolean kill(long waitTime, boolean forceIt)
    • getExeFile

      public String getExeFile()
      Returns:
      the exeFile
    • setExeFile

      public void setExeFile(String exeFile)
      Parameters:
      exeFile - the exeFile to set
    • getCommandOptions

      public String getCommandOptions()
      Returns:
      the commandOptions
    • setCommandOptions

      public void setCommandOptions(String commandOptions)
      Parameters:
      commandOptions - the commandOptions to set
    • getProcess

      public Process getProcess()
      Returns:
      the process
    • getLaunchError

      public Object getLaunchError()
      Returns:
      the launchError