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 Link icon

    • ExternalController Link icon

      public ExternalController()
  • Method Details Link icon

    • launch Link icon

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

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

      public String getExeFile()
      Returns:
      the exeFile
    • setExeFile Link icon

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

      public String getCommandOptions()
      Returns:
      the commandOptions
    • setCommandOptions Link icon

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

      public Process getProcess()
      Returns:
      the process
    • getLaunchError Link icon

      public Object getLaunchError()
      Returns:
      the launchError