Class NopProcessStopper

java.lang.Object
org.zeroturnaround.exec.stop.NopProcessStopper
All Implemented Interfaces:
ProcessStopper

public class NopProcessStopper extends Object implements ProcessStopper
ProcessStopper implementation that does nothing - it keeps the process running.
  • Field Details

  • Constructor Details

    • NopProcessStopper

      public NopProcessStopper()
  • Method Details

    • stop

      public void stop(Process process)
      Description copied from interface: ProcessStopper
      Stops a given sub process. It does not wait for the process to actually stop and it has no guarantee that the process terminates.
      Specified by:
      stop in interface ProcessStopper
      Parameters:
      process - sub process being stopped (not null).