Package 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
Contains other
SystemProcesses preserving their order.-
Field Summary
FieldsFields inherited from class org.zeroturnaround.process.AbstractProcess
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidinvokeDestroy(SystemProcess killer, boolean forceful) toString()Methods inherited from class org.zeroturnaround.process.AbstractProcess
destroy, destroyForcefully, destroyGracefully, waitForMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.zeroturnaround.process.SystemProcess
isAlive, waitFor
-
Field Details
-
children
-
-
Constructor Details
-
CompositeProcess
-
-
Method Details
-
getDescription
- Specified by:
getDescriptionin classAbstractProcess- Returns:
- the description of the system process.
-
toString
- Overrides:
toStringin classAbstractProcess
-
invokeDestroy
protected static void invokeDestroy(SystemProcess killer, boolean forceful) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-