Uses of Interface
org.zeroturnaround.process.SystemProcess

Packages that use SystemProcess
org.zeroturnaround.process   
 

Uses of SystemProcess in org.zeroturnaround.process
 

Classes in org.zeroturnaround.process that implement SystemProcess
 class AbstractProcess
          Base implementation of the process.
 class AndProcess
          Represents multiple processes.
 class CompositeProcess
          Contains other SystemProcesses preserving their order.
 class Java8Process
          Wrapper for Process since Java 8.
 class JavaProcess
          Wrapper for Process.
 class OrProcess
          Represents single system process containing alternative SystemProcess implementation to control it.
 class PidProcess
          Base killer implementation for PID (Process ID) values.
 class PollingProcess
          Base implementation that polls for a process status.
 class SolarisProcess
          Process implementation for Solaris.
 class UnixProcess
          Process implementation for UNIX PID values.
 class WindowsProcess
          Process implementation for Windows PID values.
 

Fields in org.zeroturnaround.process with type parameters of type SystemProcess
protected  List<? extends SystemProcess> CompositeProcess.children
           
 

Methods in org.zeroturnaround.process that return SystemProcess
 SystemProcess SystemProcess.destroyForcefully()
          Kills this process.
 SystemProcess SystemProcess.destroyGracefully()
          Terminates this process.
static SystemProcess Processes.newProcessForMultiple(SystemProcess... processes)
          Combines existing SystemProcess objects for multiple processes.
static SystemProcess Processes.newProcessWithAtlernatives(SystemProcess... processes)
          Combines existing SystemProcess objects as alternative implementations for a single process.
static SystemProcess Processes.newStandardProcess(Process process)
          Creates instance that represents the given Process by detecting its PID and using both Process object and the PID with external tools.
static SystemProcess Processes.newStandardProcess(Process process, int pid)
          Creates instance that represents the given Process or the given PID.
 

Methods in org.zeroturnaround.process with parameters of type SystemProcess
static void ProcessUtil.destroyForcefullyAndWait(SystemProcess process)
          Destroys the given process forcefully and waits until it finishes or the current thread gets interrupted.
static void ProcessUtil.destroyForcefullyAndWait(SystemProcess process, long timeout, TimeUnit unit)
          Destroys the given process forcefully and waits until it finishes, a timeout occurs or the current thread gets interrupted.
static void ProcessUtil.destroyGracefullyAndWait(SystemProcess process)
          Destroys the given process gracefully and waits until it finishes or the current thread gets interrupted.
static void ProcessUtil.destroyGracefullyAndWait(SystemProcess process, long timeout, TimeUnit unit)
          Destroys the given process gracefully and waits until it finishes, a timeout occurs or the current thread gets interrupted.
static void ProcessUtil.destroyGracefullyOrForcefullyAndWait(SystemProcess process)
          Destroys the given process gracefully and waits until it finishes or the current thread gets interrupted.
static void ProcessUtil.destroyGracefullyOrForcefullyAndWait(SystemProcess process, long gracefulTimeout, TimeUnit gracefulTimeoutUnit)
          Destroys the given process gracefully and waits until it finishes, a timeout occurs or the current thread gets interrupted.
static void ProcessUtil.destroyGracefullyOrForcefullyAndWait(SystemProcess process, long gracefulTimeout, TimeUnit gracefulTimeoutUnit, long forcefulTimeout, TimeUnit forcefulTimeoutUnit)
          Destroys the given process gracefully and waits until it finishes, first timeout occurs or the current thread gets interrupted.
protected static void CompositeProcess.invokeDestroy(SystemProcess killer, boolean forceful)
           
static SystemProcess Processes.newProcessForMultiple(SystemProcess... processes)
          Combines existing SystemProcess objects for multiple processes.
static SystemProcess Processes.newProcessWithAtlernatives(SystemProcess... processes)
          Combines existing SystemProcess objects as alternative implementations for a single process.
static void ProcessUtil.waitFor(SystemProcess process)
          Waits until the given process finishes or the current thread gets interrupted.
static void ProcessUtil.waitFor(SystemProcess process, long timeout, TimeUnit unit)
          Waits until the given process finishes, a timeout occurs or the current thread gets interrupted.
 

Constructor parameters in org.zeroturnaround.process with type arguments of type SystemProcess
AndProcess(List<? extends SystemProcess> children)
           
CompositeProcess(List<? extends SystemProcess> children)
           
OrProcess(List<? extends SystemProcess> children)
           
 



Copyright © 2015 ZeroTurnaround. All rights reserved.