A C D E F G I J K L N O P S T U W

A

AbstractProcess - Class in org.zeroturnaround.process
Base implementation of the process.
AbstractProcess() - Constructor for class org.zeroturnaround.process.AbstractProcess
 
AndProcess - Class in org.zeroturnaround.process
Represents multiple processes.
AndProcess(List<? extends SystemProcess>) - Constructor for class org.zeroturnaround.process.AndProcess
 
ASCII_OPTIONS - Static variable in interface org.zeroturnaround.process.win.W32API
Standard options to use the ASCII/MBCS version of a w32 API.

C

canDestroy(boolean) - Method in class org.zeroturnaround.process.Java8Process
 
canDestroy(boolean) - Method in class org.zeroturnaround.process.JavaProcess
 
children - Variable in class org.zeroturnaround.process.CompositeProcess
 
CompositeProcess - Class in org.zeroturnaround.process
Contains other SystemProcesses preserving their order.
CompositeProcess(List<? extends SystemProcess>) - Constructor for class org.zeroturnaround.process.CompositeProcess
 

D

DEFAULT_OPTIONS - Static variable in interface org.zeroturnaround.process.win.W32API
 
destroy(boolean) - Method in class org.zeroturnaround.process.AbstractProcess
Destroys the process handled by this killer either forcefully or gracefully according to the given option.
destroy(boolean) - Method in class org.zeroturnaround.process.AndProcess
 
destroy(boolean) - Method in class org.zeroturnaround.process.JavaProcess
 
destroy(boolean) - Method in class org.zeroturnaround.process.OrProcess
 
destroy(boolean) - Method in class org.zeroturnaround.process.UnixProcess
 
destroy(boolean) - Method in class org.zeroturnaround.process.WindowsProcess
 
destroyForcefully() - Method in class org.zeroturnaround.process.AbstractProcess
Kills the process handled by this killer.
destroyForcefully() - Method in interface org.zeroturnaround.process.SystemProcess
Kills this process.
destroyForcefullyAndWait(SystemProcess) - Static method in class org.zeroturnaround.process.ProcessUtil
Destroys the given process forcefully and waits until it finishes or the current thread gets interrupted.
destroyForcefullyAndWait(SystemProcess, long, TimeUnit) - Static method in class org.zeroturnaround.process.ProcessUtil
Destroys the given process forcefully and waits until it finishes, a timeout occurs or the current thread gets interrupted.
destroyGracefully() - Method in class org.zeroturnaround.process.AbstractProcess
Terminates the process handled by this killer.
destroyGracefully() - Method in interface org.zeroturnaround.process.SystemProcess
Terminates this process.
destroyGracefullyAndWait(SystemProcess) - Static method in class org.zeroturnaround.process.ProcessUtil
Destroys the given process gracefully and waits until it finishes or the current thread gets interrupted.
destroyGracefullyAndWait(SystemProcess, long, TimeUnit) - Static method in class org.zeroturnaround.process.ProcessUtil
Destroys the given process gracefully and waits until it finishes, a timeout occurs or the current thread gets interrupted.
destroyGracefullyOrForcefullyAndWait(SystemProcess) - Static method in class org.zeroturnaround.process.ProcessUtil
Destroys the given process gracefully and waits until it finishes or the current thread gets interrupted.
destroyGracefullyOrForcefullyAndWait(SystemProcess, long, TimeUnit) - Static method in class org.zeroturnaround.process.ProcessUtil
Destroys the given process gracefully and waits until it finishes, a timeout occurs or the current thread gets interrupted.
destroyGracefullyOrForcefullyAndWait(SystemProcess, long, TimeUnit, long, TimeUnit) - Static method in class org.zeroturnaround.process.ProcessUtil
Destroys the given process gracefully and waits until it finishes, first timeout occurs or the current thread gets interrupted.

E

ERROR_FILE_NOT_FOUND - Static variable in interface org.zeroturnaround.process.win.W32Errors
 
ERROR_INVALID_FUNCTION - Static variable in interface org.zeroturnaround.process.win.W32Errors
 
ERROR_PATH_NOT_FOUND - Static variable in interface org.zeroturnaround.process.win.W32Errors
 

F

fromNative(Object, FromNativeContext) - Method in class org.zeroturnaround.process.win.W32API.HANDLE
 

G

GetCurrentProcess() - Method in interface org.zeroturnaround.process.win.Kernel32
 
getDescription() - Method in class org.zeroturnaround.process.AbstractProcess
Returns the description of the system process represented.
getDescription() - Method in class org.zeroturnaround.process.CompositeProcess
 
getDescription() - Method in class org.zeroturnaround.process.JavaProcess
 
getDescription() - Method in class org.zeroturnaround.process.PidProcess
 
getIntervalForCheckingFinished() - Method in class org.zeroturnaround.process.PollingProcess
 
getMyPid() - Static method in class org.zeroturnaround.process.PidUtil
Returns process ID of the current JVM.
getPid() - Method in class org.zeroturnaround.process.PidProcess
Returns the process ID.
getPid(Process) - Static method in class org.zeroturnaround.process.PidUtil
Detects PID from given Process object.
getProcess() - Method in class org.zeroturnaround.process.JavaProcess
Returns the wrapped process.
GetProcessId(W32API.HANDLE) - Method in interface org.zeroturnaround.process.win.Kernel32
 

I

INSTANCE - Static variable in interface org.zeroturnaround.process.win.Kernel32
 
INVALID_HANDLE_VALUE - Static variable in interface org.zeroturnaround.process.win.W32API
Constant value representing an invalid HANDLE.
invokeDestroy(SystemProcess, boolean) - Static method in class org.zeroturnaround.process.CompositeProcess
 
invokeDestroy(boolean) - Method in class org.zeroturnaround.process.Java8Process
 
invokeDestroy(boolean) - Method in class org.zeroturnaround.process.JavaProcess
 
invokeDestroyForcibly() - Method in class org.zeroturnaround.process.Java8Process
 
isAlive() - Method in class org.zeroturnaround.process.AndProcess
 
isAlive() - Method in class org.zeroturnaround.process.Java8Process
 
isAlive() - Method in class org.zeroturnaround.process.JavaProcess
 
isAlive() - Method in class org.zeroturnaround.process.OrProcess
 
isAlive() - Method in interface org.zeroturnaround.process.SystemProcess
Tests whether this process is alive.
isAlive() - Method in class org.zeroturnaround.process.UnixProcess
 
isAlive() - Method in class org.zeroturnaround.process.WindowsProcess
 
isAllAlive() - Method in class org.zeroturnaround.process.AndProcess
 
isGracefulDestroyEnabled() - Method in class org.zeroturnaround.process.WindowsProcess
 
isIncludeChildren() - Method in class org.zeroturnaround.process.WindowsProcess
 
isNoSuchProcess(InvalidExitValueException) - Method in class org.zeroturnaround.process.SolarisProcess
 
isNoSuchProcess(InvalidExitValueException) - Method in class org.zeroturnaround.process.UnixProcess
 
isSupported() - Static method in class org.zeroturnaround.process.Java8Process
 

J

Java8Process - Class in org.zeroturnaround.process
Wrapper for Process since Java 8.
Java8Process(Process) - Constructor for class org.zeroturnaround.process.Java8Process
 
JavaProcess - Class in org.zeroturnaround.process
Wrapper for Process.
JavaProcess(Process) - Constructor for class org.zeroturnaround.process.JavaProcess
 

K

Kernel32 - Interface in org.zeroturnaround.process.win
 
kill(String) - Method in class org.zeroturnaround.process.UnixProcess
Sends a signal to this process.

L

log - Variable in class org.zeroturnaround.process.AbstractProcess
 

N

newJavaProcess(Process) - Static method in class org.zeroturnaround.process.Processes
Creates instance that represents given Process object.
newPidProcess(Process) - Static method in class org.zeroturnaround.process.Processes
Creates instance that represents PID value of the given Process and use external tools for the operations.
newPidProcess(int) - Static method in class org.zeroturnaround.process.Processes
Creates instance that represent the given PID value and use external tools for the operations.
newProcessForMultiple(SystemProcess...) - Static method in class org.zeroturnaround.process.Processes
Combines existing SystemProcess objects for multiple processes.
newProcessWithAtlernatives(SystemProcess...) - Static method in class org.zeroturnaround.process.Processes
Combines existing SystemProcess objects as alternative implementations for a single process.
newStandardProcess(Process) - Static method in class org.zeroturnaround.process.Processes
Creates instance that represents the given Process by detecting its PID and using both Process object and the PID with external tools.
newStandardProcess(Process, int) - Static method in class org.zeroturnaround.process.Processes
Creates instance that represents the given Process or the given PID.
NO_ERROR - Static variable in interface org.zeroturnaround.process.win.W32Errors
 

O

org.zeroturnaround.process - package org.zeroturnaround.process
 
org.zeroturnaround.process.win - package org.zeroturnaround.process.win
 
OrProcess - Class in org.zeroturnaround.process
Represents single system process containing alternative SystemProcess implementation to control it.
OrProcess(List<? extends SystemProcess>) - Constructor for class org.zeroturnaround.process.OrProcess
 

P

pid - Variable in class org.zeroturnaround.process.PidProcess
The process ID.
PidProcess - Class in org.zeroturnaround.process
Base killer implementation for PID (Process ID) values.
PidProcess(int) - Constructor for class org.zeroturnaround.process.PidProcess
 
PidUtil - Class in org.zeroturnaround.process
Helper methods for retrieving process IDs.
PidUtil() - Constructor for class org.zeroturnaround.process.PidUtil
 
PollingProcess - Class in org.zeroturnaround.process
Base implementation that polls for a process status.
PollingProcess() - Constructor for class org.zeroturnaround.process.PollingProcess
 
process - Variable in class org.zeroturnaround.process.JavaProcess
The wrapped process.
Processes - Class in org.zeroturnaround.process
Creates SystemProcess instances.
Processes() - Constructor for class org.zeroturnaround.process.Processes
 
ProcessUtil - Class in org.zeroturnaround.process
Additional helper methods for killing processes and waiting until they finish.
ProcessUtil() - Constructor for class org.zeroturnaround.process.ProcessUtil
 

S

setGracefulDestroyEnabled(boolean) - Method in class org.zeroturnaround.process.WindowsProcess
 
setIncludeChildren(boolean) - Method in class org.zeroturnaround.process.WindowsProcess
 
setIntervalForCheckingFinished(long) - Method in class org.zeroturnaround.process.PollingProcess
 
SolarisProcess - Class in org.zeroturnaround.process
Process implementation for Solaris.
SolarisProcess(int) - Constructor for class org.zeroturnaround.process.SolarisProcess
 
SystemProcess - Interface in org.zeroturnaround.process
Represents a native system process.

T

taskkill(boolean) - Method in class org.zeroturnaround.process.WindowsProcess
Sends the destroy signal to this process.
toString() - Method in class org.zeroturnaround.process.AbstractProcess
 
toString() - Method in class org.zeroturnaround.process.CompositeProcess
 

U

UNICODE_OPTIONS - Static variable in interface org.zeroturnaround.process.win.W32API
Standard options to use the unicode version of a w32 API.
UnixProcess - Class in org.zeroturnaround.process
Process implementation for UNIX PID values.
UnixProcess(int) - Constructor for class org.zeroturnaround.process.UnixProcess
 

W

W32API - Interface in org.zeroturnaround.process.win
Base type for most W32 API libraries.
W32API.HANDLE - Class in org.zeroturnaround.process.win
 
W32API.HANDLE() - Constructor for class org.zeroturnaround.process.win.W32API.HANDLE
 
W32Errors - Interface in org.zeroturnaround.process.win
 
waitFor(long, TimeUnit) - Method in class org.zeroturnaround.process.AbstractProcess
Causes the current thread to wait, if necessary, until the process handled by this killer has terminated, or the specified waiting time elapses.
waitFor() - Method in class org.zeroturnaround.process.AndProcess
 
waitFor(long, TimeUnit) - Method in class org.zeroturnaround.process.Java8Process
 
waitFor() - Method in class org.zeroturnaround.process.JavaProcess
 
waitFor() - Method in class org.zeroturnaround.process.OrProcess
 
waitFor() - Method in class org.zeroturnaround.process.PollingProcess
 
waitFor(SystemProcess) - Static method in class org.zeroturnaround.process.ProcessUtil
Waits until the given process finishes or the current thread gets interrupted.
waitFor(SystemProcess, long, TimeUnit) - Static method in class org.zeroturnaround.process.ProcessUtil
Waits until the given process finishes, a timeout occurs or the current thread gets interrupted.
waitFor() - Method in interface org.zeroturnaround.process.SystemProcess
Causes the current thread to wait, if necessary, until this process has terminated.
waitFor(long, TimeUnit) - Method in interface org.zeroturnaround.process.SystemProcess
Causes the current thread to wait, if necessary, until the process handled by this killer has terminated, or the specified waiting time elapses.
WindowsProcess - Class in org.zeroturnaround.process
Process implementation for Windows PID values.
WindowsProcess(int) - Constructor for class org.zeroturnaround.process.WindowsProcess
 

A C D E F G I J K L N O P S T U W

Copyright © 2015 ZeroTurnaround. All rights reserved.