Package org.zeroturnaround.exec.stop
Class NopProcessStopper
java.lang.Object
org.zeroturnaround.exec.stop.NopProcessStopper
- All Implemented Interfaces:
ProcessStopper
ProcessStopper implementation that does nothing - it keeps the process running.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ProcessStopperSingleton instance of theNopProcessStopper. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
Singleton instance of theNopProcessStopper.
-
-
Constructor Details
-
NopProcessStopper
public NopProcessStopper()
-
-
Method Details
-
stop
Description copied from interface:ProcessStopperStops 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:
stopin interfaceProcessStopper- Parameters:
process- sub process being stopped (notnull).
-