|
org.netbeans.modules.extexecution/2 1.25.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProcessDestroyPerformer
A service capable of properly terminating external process along with any child processes created during execution.
Implementation of this interface should be published in default lookup
in order to be used by
ExternalProcessSupport.destroy(java.lang.Process, java.util.Map)
and ExternalProcessBuilder
.
Note: not to be implemented by modules, might not be present in all versions
of the application.
Please use ExternalProcessSupport.destroy(java.lang.Process, java.util.Map)
for accessing the service.
Method Summary | |
---|---|
void |
destroy(Process process,
Map<String,String> env)
Destroys the process passed as parameter and attempts to terminate all child processes created during the process' execution. |
Method Detail |
---|
void destroy(Process process, Map<String,String> env)
process
- process to killenv
- Map containing environment variable names and values.
Any process running with such envvar's value will be
terminated. Improves localization of child processes.
|
org.netbeans.modules.extexecution/2 1.25.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |