org.zeroturnaround.process
Class CompositeProcess
java.lang.Object
org.zeroturnaround.process.AbstractProcess
org.zeroturnaround.process.CompositeProcess
- All Implemented Interfaces:
- SystemProcess
- Direct Known Subclasses:
- AndProcess, OrProcess
public abstract class CompositeProcess
- extends AbstractProcess
Contains other SystemProcesses preserving their order.
children
protected final List<? extends SystemProcess> children
CompositeProcess
public CompositeProcess(List<? extends SystemProcess> children)
getDescription
public String getDescription()
- Description copied from class:
AbstractProcess
- Returns the description of the system process represented.
- Specified by:
getDescription in class AbstractProcess
- Returns:
- the description of the system process represented.
toString
public String toString()
- Overrides:
toString in class AbstractProcess
invokeDestroy
protected static void invokeDestroy(SystemProcess killer,
boolean forceful)
throws UnsupportedOperationException,
IOException,
InterruptedException
- Throws:
UnsupportedOperationException
IOException
InterruptedException
Copyright © 2015 ZeroTurnaround. All rights reserved.